Explorar el Código

Merge pull request #3351 from neikeq/issue_3348

Fix LineEdit not capturing text input events
Rémi Verschelde hace 9 años
padre
commit
698b338bc8
Se han modificado 1 ficheros con 2 adiciones y 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 {