mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-28 09:15:37 +00:00
Fixed an issue where clearing a game and reactivating some collections could lead to a crash.
This commit is contained in:
parent
b115a94668
commit
cd91eb6ec9
|
@ -363,7 +363,7 @@ void GuiGamelistOptions::openMetaDataEd()
|
||||||
|
|
||||||
// Update all collections where the game is present.
|
// Update all collections where the game is present.
|
||||||
if (file->getType() == GAME)
|
if (file->getType() == GAME)
|
||||||
CollectionSystemsManager::get()->refreshCollectionSystems(file);
|
CollectionSystemsManager::get()->refreshCollectionSystems(file, true);
|
||||||
|
|
||||||
file->getSystem()->sortSystem();
|
file->getSystem()->sortSystem();
|
||||||
mWindow->invalidateCachedBackground();
|
mWindow->invalidateCachedBackground();
|
||||||
|
|
Loading…
Reference in a new issue