From a73f945c4903230bdc55a0d42193a690d7819a8c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Mon, 23 Feb 2026 00:31:21 +0100 Subject: [PATCH] fix bug that prevented markers to appear on fresh plot (e.g. hw tune before data plot) --- client/src/proxgui.cpp | 1 + client/src/proxguiqt.cpp | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/client/src/proxgui.cpp b/client/src/proxgui.cpp index 9d95a372d..d9b82abd2 100644 --- a/client/src/proxgui.cpp +++ b/client/src/proxgui.cpp @@ -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); } diff --git a/client/src/proxguiqt.cpp b/client/src/proxguiqt.cpp index b20376e88..393bce74f 100644 --- a/client/src/proxguiqt.cpp +++ b/client/src/proxguiqt.cpp @@ -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; }