From c21d14fe690ddd4e9e23dc72dd7d0b4c0d5d7ff5 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Tue, 8 Sep 2020 10:20:59 +0200 Subject: [PATCH] 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) (cherry picked from commit 5c63dec36e21c9f7a8b615a58e2bddacafd57778) --- scene/gui/line_edit.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 805297d5ac3..1219e7047e7 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -326,7 +326,6 @@ void LineEdit::_gui_input(Ref p_event) { if (OS::get_singleton()->has_virtual_keyboard() && virtual_keyboard_enabled) OS::get_singleton()->hide_virtual_keyboard(); - return; } break; case KEY_BACKSPACE: {