mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fixing file deletion when present in "My Collections" bundle
This commit is contained in:
parent
ef8157a896
commit
4d237cea5e
|
@ -304,7 +304,8 @@ void CollectionSystemManager::deleteCollectionFiles(FileData* file)
|
||||||
if (found) {
|
if (found) {
|
||||||
sysDataIt->second.needsSave = true;
|
sysDataIt->second.needsSave = true;
|
||||||
FileData* collectionEntry = children.at(key);
|
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