From 65dd65029b41e370942d5ebe23a7fd08a6995ca8 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 24 Jan 2023 18:20:05 +0100 Subject: [PATCH] Fixed an issue where folder metadata was sometimes included in the filter index. --- es-app/src/guis/GuiMetaDataEd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-app/src/guis/GuiMetaDataEd.cpp b/es-app/src/guis/GuiMetaDataEd.cpp index 4104af36f..810d33e1a 100644 --- a/es-app/src/guis/GuiMetaDataEd.cpp +++ b/es-app/src/guis/GuiMetaDataEd.cpp @@ -788,7 +788,8 @@ void GuiMetaDataEd::save() GamelistFileParser::updateGamelist(mScraperParams.system); // Enter game in index. - mScraperParams.system->getIndex()->addToIndex(mScraperParams.game); + if (mScraperParams.game->getType() == GAME) + mScraperParams.system->getIndex()->addToIndex(mScraperParams.game); // If it's a folder that has been updated, we need to manually sort the gamelist // as CollectionSystemsManager ignores folders.