mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed an issue where the gamelist was not sorted after folder metadata updates.
This commit is contained in:
parent
0946988fdb
commit
cc6b4eb47d
|
@ -365,9 +365,9 @@ void GuiMetaDataEd::save()
|
|||
// Update respective Collection Entries.
|
||||
CollectionSystemManager::get()->refreshCollectionSystems(mScraperParams.game);
|
||||
|
||||
// If hiding a folder and the hide games flag is enabled, we need to manually sort
|
||||
// and reload the gamelist as CollectionSystemManager ignores folders.
|
||||
if (hideGameWhileHidden && mScraperParams.game->getType() == FOLDER) {
|
||||
// If it's a folder that has been updated, we need to manually sort and reload the
|
||||
// gamelist as CollectionSystemManager ignores folders.
|
||||
if (mScraperParams.game->getType() == FOLDER) {
|
||||
FileData* systemRoot = mScraperParams.system->getRootFolder();
|
||||
systemRoot->sort(systemRoot->getSortTypeFromString(systemRoot->getSortTypeString()),
|
||||
Settings::getInstance()->getBool("FavoritesFirst"));
|
||||
|
|
Loading…
Reference in a new issue