Fixed segfault when launcher tries to reload settings on pages not yet there

pull/136/head
pvdk 11 years ago
parent 0cc7c06262
commit fda25f385a

@ -626,6 +626,9 @@ void Launcher::MainDialog::wizardFinished(int exitCode, QProcess::ExitStatus exi
if (exitCode != 0 || exitStatus == QProcess::CrashExit)
return qApp->quit();
// HACK: Ensure the pages are created, else segfault
setup();
if (reloadSettings())
show();
}

Loading…
Cancel
Save