InputDialog: Make SETTINGS button confirm and MENU button cancel

This commit is contained in:
Paul Cercueil
2013-11-30 02:27:45 +01:00
parent 246fd8630c
commit 61a79cd3d9
+4
View File
@@ -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;