mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 23:43:42 +00:00
attempt to fix --no-gui option for windows
This commit is contained in:
parent
6e07be0af5
commit
c9ffdcd52b
25 changed files with 141 additions and 58 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue