Merge pull request #196 from mcd1992/guikeys

Add clamp to PageDown case in plot GUI and updated changelog as requested in #195
This commit is contained in:
Iceman
2019-05-14 17:38:35 +02:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

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