From 2c850ba325098c4e06a22289b7d85194e8c879c6 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 6 Jan 2024 12:57:00 +0100 Subject: [PATCH] Fixed an issue on Android and macOS where attempting to access a non-existent setting --- es-app/src/guis/GuiMenu.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index 30e7b4a22..0b4949505 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -1832,7 +1832,11 @@ void GuiMenu::openUtilities() void GuiMenu::openQuitMenu() { +#if defined(__APPLE__) || defined(__ANDROID__) + if (true) { +#else if (!Settings::getInstance()->getBool("ShowQuitMenu")) { +#endif mWindow->pushGui(new GuiMsgBox( this->getHelpStyle(), "REALLY QUIT?", "YES", [this] {