mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 16:15:39 +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
|
// was unmarked. We couldn't do this earlier as we didn't have the list
|
||||||
// sorted yet.
|
// sorted yet.
|
||||||
if (removedLastFavorite) {
|
if (removedLastFavorite) {
|
||||||
ViewController::get()->getGameListView(mRoot->getSystem())->setCursor(
|
ViewController::get()->getGameListView(entryToUpdate->
|
||||||
ViewController::get()->getGameListView(mRoot->getSystem())->
|
getSystem())->setCursor(ViewController::get()->
|
||||||
getFirstEntry());
|
getGameListView(entryToUpdate->getSystem())->getFirstEntry());
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue