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:
parent
28100d554c
commit
5c63dec36e
1 changed files with 0 additions and 1 deletions
|
@ -313,7 +313,6 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
|||
DisplayServer::get_singleton()->virtual_keyboard_hide();
|
||||
}
|
||||
|
||||
return;
|
||||
} break;
|
||||
|
||||
case KEY_BACKSPACE: {
|
||||
|
|
Loading…
Reference in a new issue