mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 07:53:40 +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_traceeditdialog.h"
|
||||
#include "ui_newtracemathdialog.h"
|
||||
#include "Math/tdr.h"
|
||||
#include "appwindow.h"
|
||||
|
||||
#include <QColorDialog>
|
||||
#include <QFileDialog>
|
||||
|
|
@ -222,7 +223,9 @@ TraceEditDialog::TraceEditDialog(Trace &t, QWidget *parent) :
|
|||
ui->list->setCurrentRow(0);
|
||||
ui->stack->setCurrentIndex(0);
|
||||
|
||||
d->show();
|
||||
if(AppWindow::showGUI()) {
|
||||
d->show();
|
||||
}
|
||||
});
|
||||
connect(ui->bDelete, &QPushButton::clicked, [=](){
|
||||
model->deleteRow(ui->view->currentIndex().row());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue