mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed an issue where enabling an empty 'recent' collection could crash the application.
This commit is contained in:
parent
a300632ab8
commit
8c704bb47e
|
@ -1138,7 +1138,7 @@ void CollectionSystemsManager::populateAutoCollection(CollectionSystemData* sysD
|
|||
recentGamelist->setCursor(rootFolder->getSystem()->getRootFolder()->
|
||||
getChildrenRecursive().front());
|
||||
recentGamelist->setCursor(recentGamelist->getFirstEntry());
|
||||
|
||||
if (rootFolder->getChildren().size() > 0)
|
||||
ViewController::get()->getGameListView(rootFolder->getSystem()).get()->
|
||||
onFileChanged(rootFolder->getChildren().front(), false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue