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

@ -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 {