mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 12:05:39 +00:00
Fixed an issue where the gameselector element configuration could lead to a crash.
This commit is contained in:
parent
ef46c74f24
commit
4894ead7e7
|
@ -31,6 +31,8 @@ public:
|
||||||
if (std::find(SystemData::sSystemVector.cbegin(), SystemData::sSystemVector.cend(),
|
if (std::find(SystemData::sSystemVector.cbegin(), SystemData::sSystemVector.cend(),
|
||||||
mSystem) != SystemData::sSystemVector.cend())
|
mSystem) != SystemData::sSystemVector.cend())
|
||||||
mSystem->getRootFolder()->setUpdateListCallback(nullptr);
|
mSystem->getRootFolder()->setUpdateListCallback(nullptr);
|
||||||
|
else if (SystemData::sSystemVector.size() != 0 && mSystem->isGroupedCustomCollection())
|
||||||
|
mSystem->getRootFolder()->setUpdateListCallback(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class GameSelection {
|
enum class GameSelection {
|
||||||
|
|
Loading…
Reference in a new issue