From 5c63dec36e21c9f7a8b615a58e2bddacafd57778 Mon Sep 17 00:00:00 2001 From: PouleyKetchoupp Date: Tue, 8 Sep 2020 10:20:59 +0200 Subject: 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) --- 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 14167531a5..ef0e049f40 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -313,7 +313,6 @@ void LineEdit::_gui_input(Ref p_event) { DisplayServer::get_singleton()->virtual_keyboard_hide(); } - return; } break; case KEY_BACKSPACE: { -- cgit v1.2.3