2
0
Эх сурвалжийг харах

TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint

Ignacio Etcheverry 9 жил өмнө
parent
commit
65fa8f91ca

+ 2 - 1
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: {