mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Fixed an issue on Android and macOS where attempting to access a non-existent setting
This commit is contained in:
parent
c2201da47a
commit
2c850ba325
|
@ -1832,7 +1832,11 @@ void GuiMenu::openUtilities()
|
||||||
|
|
||||||
void GuiMenu::openQuitMenu()
|
void GuiMenu::openQuitMenu()
|
||||||
{
|
{
|
||||||
|
#if defined(__APPLE__) || defined(__ANDROID__)
|
||||||
|
if (true) {
|
||||||
|
#else
|
||||||
if (!Settings::getInstance()->getBool("ShowQuitMenu")) {
|
if (!Settings::getInstance()->getBool("ShowQuitMenu")) {
|
||||||
|
#endif
|
||||||
mWindow->pushGui(new GuiMsgBox(
|
mWindow->pushGui(new GuiMsgBox(
|
||||||
this->getHelpStyle(), "REALLY QUIT?", "YES",
|
this->getHelpStyle(), "REALLY QUIT?", "YES",
|
||||||
[this] {
|
[this] {
|
||||||
|
|
Loading…
Reference in a new issue