mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03:43 +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_tdrdialog.h"
|
||||
#include "ui_tdrexplanationwidget.h"
|
||||
#include "Util/util.h"
|
||||
#include "appwindow.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
|
|
@ -127,7 +128,9 @@ void TDR::edit()
|
|||
});
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, d, &QDialog::accept);
|
||||
d->show();
|
||||
if(AppWindow::showGUI()) {
|
||||
d->show();
|
||||
}
|
||||
}
|
||||
|
||||
QWidget *TDR::createExplanationWidget()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue