diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index e5da3431ab..d0b3a2defe 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -608,8 +608,10 @@ void MainDialog::closeEvent(QCloseEvent *event) void MainDialog::play() { - if (!writeSettings()) + if (!writeSettings()) { qApp->quit(); + return; + } // Launch the game detached startProgram(QString("openmw"), true);