mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 20:15: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.
|
// Update respective Collection Entries.
|
||||||
CollectionSystemManager::get()->refreshCollectionSystems(mScraperParams.game);
|
CollectionSystemManager::get()->refreshCollectionSystems(mScraperParams.game);
|
||||||
|
|
||||||
// If hiding a folder and the hide games flag is enabled, we need to manually sort
|
// If it's a folder that has been updated, we need to manually sort and reload the
|
||||||
// and reload the gamelist as CollectionSystemManager ignores folders.
|
// gamelist as CollectionSystemManager ignores folders.
|
||||||
if (hideGameWhileHidden && mScraperParams.game->getType() == FOLDER) {
|
if (mScraperParams.game->getType() == FOLDER) {
|
||||||
FileData* systemRoot = mScraperParams.system->getRootFolder();
|
FileData* systemRoot = mScraperParams.system->getRootFolder();
|
||||||
systemRoot->sort(systemRoot->getSortTypeFromString(systemRoot->getSortTypeString()),
|
systemRoot->sort(systemRoot->getSortTypeFromString(systemRoot->getSortTypeString()),
|
||||||
Settings::getInstance()->getBool("FavoritesFirst"));
|
Settings::getInstance()->getBool("FavoritesFirst"));
|
||||||
|
|
Loading…
Reference in a new issue