mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 03:01:02 +00:00
parent
a17c49d9a7
commit
1b127480af
@ -194,8 +194,10 @@ void Dialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
|
||||
}
|
||||
|
||||
// ESC closes all dialogs by default
|
||||
if (keycode == 27)
|
||||
if (keycode == 27) {
|
||||
setResult(-1);
|
||||
close();
|
||||
}
|
||||
|
||||
// TODO: tab/shift-tab should focus the next/previous focusable widget
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user