diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp index e047186..e2821af 100644 --- a/gui/mainwindow.cpp +++ b/gui/mainwindow.cpp @@ -273,7 +273,7 @@ void MainWindow::on_wizard_accept() ui->parts->setText(parts); } - wizardNext(); + QMetaObject::invokeMethod(this, &MainWindow::wizardNext, Qt::QueuedConnection); } void MainWindow::on_saveButton_clicked()