mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue where returning from a game would sometimes make the helpsystem use the dimmed theme properties
This commit is contained in:
parent
f9401529d1
commit
193af56e40
|
@ -2126,8 +2126,13 @@ returnValue = Utils::Platform::launchGameUnix(command, startDirectory, runInBack
|
||||||
gameToUpdate->metadata.get("lastplayed"));
|
gameToUpdate->metadata.get("lastplayed"));
|
||||||
}
|
}
|
||||||
|
|
||||||
CollectionSystemsManager::getInstance()->refreshCollectionSystems(gameToUpdate);
|
// We make an explicit call to close the launch screen instead of waiting for
|
||||||
|
// AnimationController to do it as that would be done too late. This is so because on
|
||||||
|
// gamelist reload the helpsystem uses the state of the launch screen to select between
|
||||||
|
// the dimmed and undimmed element properties.
|
||||||
|
window->closeLaunchScreen();
|
||||||
|
|
||||||
|
CollectionSystemsManager::getInstance()->refreshCollectionSystems(gameToUpdate);
|
||||||
gameToUpdate->mSystem->onMetaDataSavePoint();
|
gameToUpdate->mSystem->onMetaDataSavePoint();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue