소스 검색

Fix LineEdit not capturing text input events

Ignacio Etcheverry 9 년 전
부모
커밋
ccbf8b42f4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 {