mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed a rare crash when editing custom collections.
This commit is contained in:
parent
fc03134ef0
commit
b073579f44
|
@ -1214,9 +1214,9 @@ void ViewController::reloadGamelistView(GamelistView* view, bool reloadTheme)
|
|||
std::shared_ptr<GamelistView> newView {getGamelistView(system)};
|
||||
|
||||
// To counter having come from a placeholder.
|
||||
if (!cursor->isPlaceHolder()) {
|
||||
if (!cursor->isPlaceHolder() && cursor->getParent() != nullptr)
|
||||
newView->setCursor(cursor);
|
||||
}
|
||||
|
||||
if (isCurrent)
|
||||
mCurrentView = newView;
|
||||
|
||||
|
|
Loading…
Reference in a new issue