Merge pull request #47889 from EricEzaM/PR/fix-autocomplete-accept-on-space
Fixed ui_accept (spacebar + return) accepting auto-completion options.
This commit is contained in:
commit
f95945af5a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue