diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-04-14 17:42:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-14 17:42:22 +0200 |
commit | f95945af5a0cbbdf1e79b523f4a49c1e0084694c (patch) | |
tree | 165290418cd8b4b799f2721f524086438927e5c7 | |
parent | 17333aea7605a7936210c8aa70d169c27fc6c8ac (diff) | |
parent | 92900bd490213860f9b208090820b7f1fec8d823 (diff) |
Merge pull request #47889 from EricEzaM/PR/fix-autocomplete-accept-on-space
Fixed ui_accept (spacebar + return) accepting auto-completion options.
-rw-r--r-- | scene/gui/text_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 281e6adada..4f508423b3 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -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; |