attempt to fix --no-gui option for windows

This commit is contained in:
Jan Käberich 2022-03-03 12:28:59 +01:00
parent 6e07be0af5
commit c9ffdcd52b
25 changed files with 141 additions and 58 deletions

View file

@ -4,6 +4,7 @@
#include "ui_twothrudialog.h"
#include "Traces/fftcomplex.h"
#include "unit.h"
#include "appwindow.h"
#include <QDebug>
@ -172,7 +173,9 @@ void TwoThru::edit()
updateGUI();
dialog->show();
if(AppWindow::showGUI()) {
dialog->show();
}
}
nlohmann::json TwoThru::toJSON()