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)
This commit is contained in:
@@ -313,7 +313,6 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
||||
DisplayServer::get_singleton()->virtual_keyboard_hide();
|
||||
}
|
||||
|
||||
return;
|
||||
} break;
|
||||
|
||||
case KEY_BACKSPACE: {
|
||||
|
||||
Reference in New Issue
Block a user