mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-25 19:45:54 +02:00
InputDialog: Make SETTINGS button confirm and MENU button cancel
This commit is contained in:
parent
246fd8630c
commit
61a79cd3d9
@ -188,6 +188,10 @@ bool InputDialog::exec() {
|
|||||||
|
|
||||||
switch (inputMgr.waitForPressedButton()) {
|
switch (inputMgr.waitForPressedButton()) {
|
||||||
case InputManager::SETTINGS:
|
case InputManager::SETTINGS:
|
||||||
|
ok = true;
|
||||||
|
close = true;
|
||||||
|
break;
|
||||||
|
case InputManager::MENU:
|
||||||
ok = false;
|
ok = false;
|
||||||
close = true;
|
close = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user