Fixed ui_accept (spacebar + return) accepting auto-completion options.

This commit is contained in:
Eric M 2021-04-15 00:38:28 +10:00
parent 8ce0fb0a94
commit 92900bd490

View File

@ -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;