diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-05-28 18:22:54 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-05-28 18:22:54 +0200 |
commit | 65fa8f91ca979d61cebed8eddd4c8a5bc5317ca7 (patch) | |
tree | 619d4cf6b1addc6a329d8bb83c8708f44919d2c1 | |
parent | 9daaa709207adf77eb5cf7c440782eaad3a3f7b2 (diff) |
TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint
-rw-r--r-- | scene/gui/text_edit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 03024daff5..3199a7f15c 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -1892,7 +1892,8 @@ void TextEdit::_input_event(const InputEvent& p_input_event) { if (completion_hint!="") { completion_hint=""; update(); - + } else { + scancode_handled=false; } } break; case KEY_TAB: { |