fix bug that prevented markers to appear on fresh plot (e.g. hw tune before data plot)
This commit is contained in:
1 parent
a219a3413c
commit
a73f945c49
2 files changed
+1
-7
No files matched your search
@@ -130,6 +130,7 @@ extern "C" void InitGraphics(int argc, char **argv, char *script_cmds_file, char
|
||||
#if QT_VERSION >= 0x050100
|
||||
qunsetenv("SESSION_MANAGER");
|
||||
#endif
|
||||
ClearGraph(false);
|
||||
main_loop_thread = new WorkerThread(script_cmds_file, script_cmd, stayInCommandLoop);
|
||||
gui = new ProxGuiQT(argc, argv, main_loop_thread);
|
||||
}
|
||||
|
||||
@@ -1122,13 +1122,6 @@ Plot::Plot(QWidget *parent) : QWidget(parent), g_GraphPixelsPerPoint(1) {
|
||||
setPalette(palette);
|
||||
setAutoFillBackground(true);
|
||||
|
||||
g_MarkerA.pos = 0;
|
||||
g_MarkerB.pos = 0;
|
||||
g_MarkerC.pos = 0;
|
||||
g_MarkerD.pos = 0;
|
||||
g_GraphStart = 0;
|
||||
g_GraphStop = 0;
|
||||
|
||||
setWindowTitle(tr("Sliders"));
|
||||
master = parent;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user