mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
fix bug that prevented markers to appear on fresh plot (e.g. hw tune before data plot)
This commit is contained in:
@@ -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