mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue where attempting to open the menu during startup would crash the application.
This commit is contained in:
parent
aec26843ef
commit
11faacb43a
|
@ -1015,7 +1015,7 @@ bool ViewController::input(InputConfig* config, Input input)
|
|||
// Open the main menu.
|
||||
if (!(UIModeController::getInstance()->isUIModeKid() &&
|
||||
!Settings::getInstance()->getBool("EnableMenuKidMode")) &&
|
||||
config->isMappedTo("start", input) && input.value != 0) {
|
||||
config->isMappedTo("start", input) && input.value != 0 && mCurrentView != nullptr) {
|
||||
// If we don't stop the scrolling here, it will continue to
|
||||
// run after closing the menu.
|
||||
if (mSystemListView->isScrolling())
|
||||
|
|
Loading…
Reference in a new issue