Fix Command Line Args when skipping InitialOptionsDialog

This commit is contained in:
Florian Märkl 2018-10-12 12:49:29 +02:00
parent 705735c150
commit a9c09339cf

View File

@ -370,13 +370,11 @@ void MainWindow::displayInitialOptionsDialog(const InitialOptions &options, bool
{
auto o = new InitialOptionsDialog(this);
o->setAttribute(Qt::WA_DeleteOnClose);
o->loadOptions(options);
if (skipOptionsDialog) {
o->setupAndStartAnalysis();
}
else
{
o->loadOptions(options);
} else {
o->show();
}
}