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
|
|
@ -5,6 +5,7 @@
|
|||
#include "unit.h"
|
||||
#include "ui_dftdialog.h"
|
||||
#include "ui_dftexplanationwidget.h"
|
||||
#include "appwindow.h"
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
|
|
@ -86,7 +87,9 @@ void Math::DFT::edit()
|
|||
});
|
||||
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, d, &QDialog::accept);
|
||||
d->show();
|
||||
if(AppWindow::showGUI()) {
|
||||
d->show();
|
||||
}
|
||||
}
|
||||
|
||||
QWidget *Math::DFT::createExplanationWidget()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue