mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 22:25:38 +00:00
Fixed a crash in some circumstances when unflagging the last folder as favorite.
This commit is contained in:
parent
075ab58bdb
commit
effc0f31dc
|
@ -292,9 +292,9 @@ bool ISimpleGameListView::input(InputConfig* config, Input input)
|
|||
// was unmarked. We couldn't do this earlier as we didn't have the list
|
||||
// sorted yet.
|
||||
if (removedLastFavorite) {
|
||||
ViewController::get()->getGameListView(mRoot->getSystem())->setCursor(
|
||||
ViewController::get()->getGameListView(mRoot->getSystem())->
|
||||
getFirstEntry());
|
||||
ViewController::get()->getGameListView(entryToUpdate->
|
||||
getSystem())->setCursor(ViewController::get()->
|
||||
getGameListView(entryToUpdate->getSystem())->getFirstEntry());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue