Added clamp to PageDown case in plot GUI and updated changelog

This commit is contained in:
Aaron McDaniel 2019-05-14 10:12:46 -05:00
parent 1147c9faf8
commit 1186753bf6
2 changed files with 3 additions and 0 deletions

View file

@ -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 `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 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) - 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 ### Fixed
- Changed driver file proxmark3.inf to support both old and new Product/Vendor IDs (piwi) - Changed driver file proxmark3.inf to support both old and new Product/Vendor IDs (piwi)

View file

@ -707,6 +707,8 @@ void Plot::keyPressEvent(QKeyEvent *event) {
case Qt::Key_PageDown: case Qt::Key_PageDown:
GraphStart += PageWidth; GraphStart += PageWidth;
if (GraphStart > startMax)
GraphStart = startMax;
break; break;
default: default: