mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-05 06:25:16 +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
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "ui_portextensioneditdialog.h"
|
||||
#include "Util/util.h"
|
||||
#include "appwindow.h"
|
||||
|
||||
#include <QCheckBox>
|
||||
#include <cmath>
|
||||
|
|
@ -202,7 +203,9 @@ void PortExtension::edit()
|
|||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, dialog, &QDialog::accept);
|
||||
connect(ui->buttonBox, &QDialogButtonBox::rejected, dialog, &QDialog::reject);
|
||||
dialog->show();
|
||||
if(AppWindow::showGUI()) {
|
||||
dialog->show();
|
||||
}
|
||||
}
|
||||
|
||||
void PortExtension::measurementCompleted(std::vector<Protocol::Datapoint> m)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue