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)
This commit is contained in:
PouleyKetchoupp 2020-09-08 10:20:59 +02:00
parent 28100d554c
commit 5c63dec36e

View file

@ -313,7 +313,6 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
DisplayServer::get_singleton()->virtual_keyboard_hide();
}
return;
} break;
case KEY_BACKSPACE: {