mirror of https://github.com/buggins/dlangui.git
fix tab handling
This commit is contained in:
parent
f7c8aca1ee
commit
ff5adbce0e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue