From 4dded3306c9b2deeba2fc60facb78a520bc16548 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 31 Dec 2020 19:58:51 +0100 Subject: [PATCH] Fixed an issue where clearing a game would not update its collection entries. --- es-app/src/guis/GuiGamelistOptions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-app/src/guis/GuiGamelistOptions.cpp b/es-app/src/guis/GuiGamelistOptions.cpp index 1159c5e7e..c24f5f225 100644 --- a/es-app/src/guis/GuiGamelistOptions.cpp +++ b/es-app/src/guis/GuiGamelistOptions.cpp @@ -348,6 +348,10 @@ void GuiGamelistOptions::openMetaDataEd() file->metadata.set(it->key, it->defaultValue); } + // Update all collections where the game is present. + if (file->getType() == GAME) + CollectionSystemsManager::get()->refreshCollectionSystems(file); + file->getSystem()->sortSystem(); mWindow->invalidateCachedBackground();