Fixed an issue where the cached background would sometimes not be updated.

This commit is contained in:
Leon Styhre 2020-10-11 10:07:38 +02:00
parent 70f7382680
commit eb51877aab

View file

@ -290,6 +290,7 @@ void GuiGamelistOptions::openMetaDataEd()
}
file->getSystem()->sortSystem();
mWindow->invalidateCachedBackground();
// Remove the folder entry from the gamelist.xml file.
file->setDeletionFlag();
@ -304,6 +305,7 @@ void GuiGamelistOptions::openMetaDataEd()
file->getSystem()).get()->removeMedia(file);
ViewController::get()->getGameListView(
file->getSystem()).get()->remove(file, true);
mWindow->invalidateCachedBackground();
};
if (file->getType() == FOLDER) {