diff options
| author | Ignacio Etcheverry | 2016-05-28 18:22:54 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2016-05-28 18:22:54 +0200 |
| commit | 65fa8f91ca979d61cebed8eddd4c8a5bc5317ca7 (patch) | |
| tree | 619d4cf6b1addc6a329d8bb83c8708f44919d2c1 /scene/gui/text_edit.cpp | |
| parent | 9daaa709207adf77eb5cf7c440782eaad3a3f7b2 (diff) | |
| download | godot-65fa8f91ca979d61cebed8eddd4c8a5bc5317ca7.tar.gz godot-65fa8f91ca979d61cebed8eddd4c8a5bc5317ca7.tar.zst godot-65fa8f91ca979d61cebed8eddd4c8a5bc5317ca7.zip | |
TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint
Diffstat (limited to 'scene/gui/text_edit.cpp')
| -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 03024daff..3199a7f15 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: { |
