mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 21:45:32 +00:00
Fixed segfault when launcher tries to reload settings on pages not yet there
This commit is contained in:
parent
0cc7c06262
commit
fda25f385a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue