TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint

This commit is contained in:
Ignacio Etcheverry 2016-05-28 18:22:54 +02:00
parent 9daaa70920
commit 65fa8f91ca

View file

@ -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: {