fix tab handling

This commit is contained in:
Vadim Lopatin 2017-09-05 12:04:33 +03:00
parent f7c8aca1ee
commit ff5adbce0e
1 changed files with 2 additions and 0 deletions

View File

@ -3460,6 +3460,8 @@ class FindPanel : HorizontalLayout {
}
bool onEditorKeyEvent(Widget source, KeyEvent event) {
if (event.keyCode == KeyCode.TAB)
return true;
if (event.action == KeyAction.KeyDown && event.keyCode == KeyCode.ESCAPE) {
close();
return true;