Fixed an issue where folder metadata was sometimes included in the filter index.

This commit is contained in:
Leon Styhre 2023-01-24 18:20:05 +01:00
parent b0d3133983
commit 65dd65029b

View file

@ -788,6 +788,7 @@ void GuiMetaDataEd::save()
GamelistFileParser::updateGamelist(mScraperParams.system); GamelistFileParser::updateGamelist(mScraperParams.system);
// Enter game in index. // Enter game in index.
if (mScraperParams.game->getType() == GAME)
mScraperParams.system->getIndex()->addToIndex(mScraperParams.game); mScraperParams.system->getIndex()->addToIndex(mScraperParams.game);
// If it's a folder that has been updated, we need to manually sort the gamelist // If it's a folder that has been updated, we need to manually sort the gamelist