fix gui (plot) bugs (#604)

G keypress event would cause a crash if no data
Q keypress didn't work.

Thanks to @iceman1001 for identifying and providing the fixes.
This commit is contained in:
marshmellow42 2018-05-15 02:19:49 -04:00 committed by pwpiwi
commit e8924be8ba
2 changed files with 5 additions and 1 deletions

View file

@ -28,6 +28,7 @@
class Plot: public QWidget
{
private:
QWidget *master;
int GraphStart;
double GraphPixelsPerPoint;
int CursorAPos;