Browse Source

Fix LineEdit not capturing text input events

Ignacio Etcheverry 9 years ago
parent
commit
ccbf8b42f4
1 changed files with 2 additions and 0 deletions
  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 {