diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-01-14 16:36:31 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2016-01-14 16:36:31 +0100 |
commit | 698b338bc8e98d98a0ba903b06f8db55855e4cfb (patch) | |
tree | e2825e1ed216bfd51cf0025517d595e2ebc70d11 | |
parent | d2222291498dccb188204b72081a1e618b92baa9 (diff) | |
parent | ccbf8b42f4043735433603ef5bae26cd7a0d4bce (diff) |
Merge pull request #3351 from neikeq/issue_3348
Fix LineEdit not capturing text input events
-rw-r--r-- | scene/gui/line_edit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 49ea077a30..fdced3f62f 100644 --- a/scene/gui/line_edit.cpp +++ b/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 { |