Explorar o código

Fix LineEdit not capturing text input events

Ignacio Etcheverry %!s(int64=9) %!d(string=hai) anos
pai
achega
ccbf8b42f4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      scene/gui/line_edit.cpp

+ 2 - 0
scene/gui/line_edit.cpp

@@ -330,6 +330,8 @@ void LineEdit::_input_event(InputEvent p_event) {
 							append_at_cursor(ucodestr);
 							emit_signal("text_changed",text);
 							_change_notify("text");
+
+							accept_event();
 						}
 
 					} else {