mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Fixed ui_accept (spacebar + return) accepting auto-completion options.
This commit is contained in:
parent
8ce0fb0a94
commit
92900bd490
@ -3261,7 +3261,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||
accept_event();
|
||||
return;
|
||||
}
|
||||
if (k->is_action("ui_accept", true) || k->is_action("ui_text_completion_accept", true)) {
|
||||
if (k->is_action("ui_text_completion_accept", true)) {
|
||||
_confirm_completion();
|
||||
accept_event();
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user