mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
InputDialog: Make SETTINGS button confirm and MENU button cancel
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user