mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +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,9 +1138,9 @@ void CollectionSystemsManager::populateAutoCollection(CollectionSystemData* sysD
|
|||
recentGamelist->setCursor(rootFolder->getSystem()->getRootFolder()->
|
||||
getChildrenRecursive().front());
|
||||
recentGamelist->setCursor(recentGamelist->getFirstEntry());
|
||||
|
||||
ViewController::get()->getGameListView(rootFolder->getSystem()).get()->
|
||||
onFileChanged(rootFolder->getChildren().front(), false);
|
||||
if (rootFolder->getChildren().size() > 0)
|
||||
ViewController::get()->getGameListView(rootFolder->getSystem()).get()->
|
||||
onFileChanged(rootFolder->getChildren().front(), false);
|
||||
}
|
||||
|
||||
sysData->isPopulated = true;
|
||||
|
|
Loading…
Reference in a new issue