From 61a79cd3d9b2264aadfceb04100459eec51e9ec8 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Sat, 30 Nov 2013 02:27:45 +0100 Subject: [PATCH] InputDialog: Make SETTINGS button confirm and MENU button cancel --- src/inputdialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/inputdialog.cpp b/src/inputdialog.cpp index 595569a..df12dba 100644 --- a/src/inputdialog.cpp +++ b/src/inputdialog.cpp @@ -188,6 +188,10 @@ bool InputDialog::exec() { switch (inputMgr.waitForPressedButton()) { case InputManager::SETTINGS: + ok = true; + close = true; + break; + case InputManager::MENU: ok = false; close = true; break;