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:
@@ -707,6 +707,8 @@ void Plot::keyPressEvent(QKeyEvent *event) {
|
||||
|
||||
case Qt::Key_PageDown:
|
||||
GraphStart += PageWidth;
|
||||
if (GraphStart > startMax)
|
||||
GraphStart = startMax;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user