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 "deembeddingdialog.h"
#include "ui_measurementdialog.h"
#include "Traces/sparamtraceselector.h"
#include "appwindow.h"
#include <QDebug>
@ -11,7 +12,9 @@ using namespace std;
void Deembedding::configure()
{
auto d = new DeembeddingDialog(this);
d->show();
if(AppWindow::showGUI()) {
d->show();
}
}
void Deembedding::measurementCompleted()
@ -104,7 +107,9 @@ void Deembedding::startMeasurementDialog(bool S11, bool S12, bool S21, bool S22)
measurementCompleted();
});
measurementDialog->show();
if(AppWindow::showGUI()) {
measurementDialog->show();
}
}
Deembedding::Deembedding(TraceModel &tm)