erik's patch for bug #854470

svn-id: r11521
This commit is contained in:
Max Horn 2003-12-06 13:55:50 +00:00
parent a17c49d9a7
commit 1b127480af

View File

@ -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
}