diff --git a/es-app/src/CollectionSystemManager.cpp b/es-app/src/CollectionSystemManager.cpp index 8233663f1..2a5933fe2 100644 --- a/es-app/src/CollectionSystemManager.cpp +++ b/es-app/src/CollectionSystemManager.cpp @@ -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); } } }