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
|
|
@ -3,6 +3,7 @@
|
|||
#include "ui_matchingnetworkdialog.h"
|
||||
#include "unit.h"
|
||||
#include "CustomWidgets/informationbox.h"
|
||||
#include "appwindow.h"
|
||||
|
||||
#include <QDialog>
|
||||
#include <QHBoxLayout>
|
||||
|
|
@ -126,7 +127,9 @@ void MatchingNetwork::edit()
|
|||
|
||||
layout->addStretch(1);
|
||||
|
||||
dialog->show();
|
||||
if(AppWindow::showGUI()) {
|
||||
dialog->show();
|
||||
}
|
||||
if(addNetwork) {
|
||||
ui->bAddNetwork->setChecked(true);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue