mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue where entering folders using the gamelist carousel could lead to a crash.
This commit is contained in:
parent
d508a123d2
commit
0345fd8fa7
|
@ -1057,7 +1057,7 @@ template <typename T> void CarouselComponent<T>::onCursorChanged(const CursorSta
|
|||
|
||||
GuiComponent::setAnimation(anim, 0, nullptr, false, 0);
|
||||
|
||||
if (mCursorChangedCallback)
|
||||
if (mCursorChangedCallback && !mEntries.empty())
|
||||
mCursorChangedCallback(state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue