reset Graphstart variable when <data clear>
This commit is contained in:
1 parent
6e3eff356b
commit
9b90250434
5 files changed
+5
-4
No files matched your search
@@ -766,7 +766,7 @@ void Plot::paintEvent(QPaintEvent *event) {
|
||||
painter.drawText(20, infoRect.bottom() - 3, str);
|
||||
}
|
||||
|
||||
Plot::Plot(QWidget *parent) : QWidget(parent), GraphStart(0), GraphPixelsPerPoint(1) {
|
||||
Plot::Plot(QWidget *parent) : QWidget(parent), GraphPixelsPerPoint(1) {
|
||||
//Need to set this, otherwise we don't receive keypress events
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
resize(400, 200);
|
||||
|
||||
Reference in new issue
Block a user