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 commit5c63dec36e
)
This commit is contained in:
parent
3f276033c1
commit
c21d14fe69
1 changed files with 0 additions and 1 deletions
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue