mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where hiding a game did not update the filter indices.
This commit is contained in:
parent
2e5b1b5187
commit
d22e0fb5b5
|
@ -446,6 +446,12 @@ void GuiMetaDataEd::save()
|
|||
CollectionSystemsManager::get()->refreshCollectionSystems(mScraperParams.game);
|
||||
}
|
||||
|
||||
// If hiding a game, remove it from the indices of all systems.
|
||||
if (hideGameWhileHidden) {
|
||||
for (SystemData* sys : SystemData::sSystemVector)
|
||||
sys->getIndex()->removeFromIndex(mScraperParams.game);
|
||||
}
|
||||
|
||||
// If game counting was re-enabled for the game, then reactivate it in any custom collections
|
||||
// where it may exist.
|
||||
if (setGameAsCounted)
|
||||
|
|
Loading…
Reference in a new issue