mirror of https://github.com/stella-emu/stella.git
Fix null pointer.
This commit is contained in:
parent
c26514f042
commit
f0c599bfe4
|
@ -384,7 +384,7 @@ void LauncherDialog::loadConfig()
|
|||
}
|
||||
|
||||
bool subDirs = instance().settings().getBool("launchersubdirs");
|
||||
mySubDirs->setState(subDirs);
|
||||
if (mySubDirs) mySubDirs->setState(subDirs);
|
||||
myList->setIncludeSubDirs(subDirs);
|
||||
|
||||
// Assume that if the list is empty, this is the first time that loadConfig()
|
||||
|
|
Loading…
Reference in New Issue