mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +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 "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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue