mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Fixed a rare issue where reloading the application could lead to a crash
This commit is contained in:
parent
cd2d38a6d9
commit
d814431496
|
@ -1659,6 +1659,9 @@ void ViewController::rescanROMDirectory()
|
||||||
// It's possible that there are no longer any games.
|
// It's possible that there are no longer any games.
|
||||||
mWindow->setBlockInput(false);
|
mWindow->setBlockInput(false);
|
||||||
mWindow->invalidateCachedBackground();
|
mWindow->invalidateCachedBackground();
|
||||||
|
mWindow->passHelpComponents(nullptr);
|
||||||
|
mWindow->passClockComponents(nullptr);
|
||||||
|
mWindow->passSystemStatusComponents(nullptr);
|
||||||
noGamesDialog();
|
noGamesDialog();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue