summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-01-14 16:26:22 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-01-14 16:26:22 +0100
commitccbf8b42f4043735433603ef5bae26cd7a0d4bce (patch)
treeba2ed3864d946f2d4ad52cf9276c827efb7f00b9
parente2be837520c0a6e4fed19b714f0477cb9c32eb78 (diff)
Fix LineEdit not capturing text input events
-rw-r--r--scene/gui/line_edit.cpp2
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 {