mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue where the grouped custom collections game count was not always updated.
This commit is contained in:
parent
b073579f44
commit
96a5f1f056
|
@ -1221,6 +1221,12 @@ void ViewController::reloadGamelistView(GamelistView* view, bool reloadTheme)
|
|||
mCurrentView = newView;
|
||||
|
||||
newView->populateCursorHistory(cursorHistoryTemp);
|
||||
// This is required to get the game count updated if the favorite metadata value has
|
||||
// been changed for any game that is part of a custom collection.
|
||||
if (system->isCollection() && system->getName() == "collections") {
|
||||
std::pair<unsigned int, unsigned int> gameCount {0, 0};
|
||||
system->getRootFolder()->countGames(gameCount);
|
||||
}
|
||||
updateHelpPrompts();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue