mirror of https://github.com/stella-emu/stella.git
Fix crash with minimal launcher UI.
This commit is contained in:
parent
1cf93ca0a0
commit
2f2ec4c300
|
@ -410,7 +410,8 @@ void LauncherDialog::loadConfig()
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void LauncherDialog::saveConfig()
|
||||
{
|
||||
instance().settings().setValue("launchersubdirs", mySubDirs->getState());
|
||||
if (mySubDirs)
|
||||
instance().settings().setValue("launchersubdirs", mySubDirs->getState());
|
||||
if(instance().settings().getBool("followlauncher"))
|
||||
instance().settings().setValue("romdir", myList->currentDir().getShortPath());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue