diff --git a/es-app/src/guis/GuiGamelistOptions.cpp b/es-app/src/guis/GuiGamelistOptions.cpp index d87d48ea1..616b66590 100644 --- a/es-app/src/guis/GuiGamelistOptions.cpp +++ b/es-app/src/guis/GuiGamelistOptions.cpp @@ -378,10 +378,11 @@ void GuiGamelistOptions::openMetaDataEd() LOG(LogInfo) << "Deleting the game file \"" << file->getFullPath() << "\", all its media files and its gamelist.xml entry."; CollectionSystemsManager::get()->deleteCollectionFiles(file); - ViewController::get()->getGameListView( - file->getSystem()).get()->removeMedia(file); - ViewController::get()->getGameListView( - file->getSystem()).get()->remove(file, true); + ViewController::get()->getGameListView(file->getSystem()).get()->removeMedia(file); + ViewController::get()->getGameListView(file->getSystem()).get()->remove(file, true); + mSystem->getRootFolder()->sort(*mListSort->getSelected(), mFavoritesSorting); + ViewController::get()->reloadGameListView(mSystem); + mWindow->invalidateCachedBackground(); };