Browse Source

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)
PouleyKetchoupp 5 years ago
parent
commit
5c63dec36e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/gui/line_edit.cpp

+ 0 - 1
scene/gui/line_edit.cpp

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