mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Merge pull request #290 from pjft/collections-delete-fix
Fixing file deletion when present in "My Collections" bundle
This commit is contained in:
commit
9a77c327d2
|
@ -304,7 +304,8 @@ void CollectionSystemManager::deleteCollectionFiles(FileData* file)
|
|||
if (found) {
|
||||
sysDataIt->second.needsSave = true;
|
||||
FileData* collectionEntry = children.at(key);
|
||||
ViewController::get()->getGameListView(sysDataIt->second.system).get()->remove(collectionEntry, false);
|
||||
SystemData* systemViewToUpdate = getSystemToView(sysDataIt->second.system);
|
||||
ViewController::get()->getGameListView(systemViewToUpdate).get()->remove(collectionEntry, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue