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 - c0b394572f)

(cherry picked from commit 5c63dec36e)
This commit is contained in:
PouleyKetchoupp 2020-09-08 10:20:59 +02:00 committed by Rémi Verschelde
parent 3f276033c1
commit c21d14fe69
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 0 additions and 1 deletions

View File

@ -326,7 +326,6 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
if (OS::get_singleton()->has_virtual_keyboard() && virtual_keyboard_enabled)
OS::get_singleton()->hide_virtual_keyboard();
return;
} break;
case KEY_BACKSPACE: {