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 "ui_expressiondialog.h"
#include "Traces/trace.h"
#include "ui_expressionexplanationwidget.h"
#include "appwindow.h"
#include <QWidget>
#include <QDebug>
@ -52,7 +53,9 @@ void Math::Expression::edit()
default: break;
}
d->show();
if(AppWindow::showGUI()) {
d->show();
}
}
QWidget *Math::Expression::createExplanationWidget()