mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue where deleting a game would not refresh the gamelist.
This commit is contained in:
parent
e56fdf3df6
commit
c5ecfb4e36
|
@ -189,6 +189,11 @@ void BasicGameListView::remove(FileData *game, bool deleteFile)
|
|||
|
||||
// Remove before repopulating (removes from parent), then update the view.
|
||||
delete game;
|
||||
|
||||
if (deleteFile)
|
||||
parent->sort(parent->getSortTypeFromString(parent->getSortTypeString()),
|
||||
Settings::getInstance()->getBool("FavoritesFirst"));
|
||||
|
||||
onFileChanged(parent, FILE_REMOVED);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue