summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-09-08 10:20:59 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-09-08 10:22:37 +0200
commit5c63dec36e21c9f7a8b615a58e2bddacafd57778 (patch)
tree050e01afb425e28c6662982b551e6a1ed6557cdd
parent28100d554ce9047c6c267115ae4aca0e0970fe42 (diff)
Fix LineEdit not consuming enter events
LineEdit should not return early when processing KEY_ENTER, so it can consume the event properly. Regression introduced by mistake while fixing enter events for Android (PR #40487 - c0b394572f35498801571ad7176eb357d5de1bf3)
-rw-r--r--scene/gui/line_edit.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index 14167531a5..ef0e049f40 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -313,7 +313,6 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
DisplayServer::get_singleton()->virtual_keyboard_hide();
}
- return;
} break;
case KEY_BACKSPACE: {