From cc6b4eb47d85634b9ff945850194371ef470b898 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 27 Sep 2020 10:51:50 +0200 Subject: [PATCH] Fixed an issue where the gamelist was not sorted after folder metadata updates. --- es-app/src/guis/GuiMetaDataEd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index 4df039154..ca9615d73 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -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"));