From 1186753bf6bc40dd31252abe84a04dff64aca805 Mon Sep 17 00:00:00 2001 From: Aaron McDaniel Date: Tue, 14 May 2019 10:12:46 -0500 Subject: [PATCH] Added clamp to PageDown case in plot GUI and updated changelog --- CHANGELOG.md | 1 + client/proxguiqt.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index df0190b6f..b390bbc56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -219,6 +219,7 @@ This project uses the changelog in accordance with [keepchangelog](http://keepac - Added `hf fido` `assert` and `make` commands from fido2 protocol (authenticatorMakeCredential and authenticatorGetAssertion) (@merlokk) - Added trailer block decoding to `hf mf rdbl` and `hf mf cgetbl` (@merlokk) - Added `hf mf mad` and `hf mfp mad` MAD decode, check and print commands (@merlokk) + - Add home, end, pageup, and pagedown keybinds to the plot GUI. Also fix paged movement in GUI. (@mcd1992) ### Fixed - Changed driver file proxmark3.inf to support both old and new Product/Vendor IDs (piwi) diff --git a/client/proxguiqt.cpp b/client/proxguiqt.cpp index fb0f51d26..344f48b03 100644 --- a/client/proxguiqt.cpp +++ b/client/proxguiqt.cpp @@ -707,6 +707,8 @@ void Plot::keyPressEvent(QKeyEvent *event) { case Qt::Key_PageDown: GraphStart += PageWidth; + if (GraphStart > startMax) + GraphStart = startMax; break; default: