summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-08-12 13:45:55 +0200
committerGitHub <noreply@github.com>2016-08-12 13:45:55 +0200
commitb9e8bddf19a277b6a5302ec1e12ace780ed86b12 (patch)
treecf2a614ef7a77304e1235243ab527cd1c5505862 /scene/gui
parent408cc9dc9f82cfb8ce21c8231ca194cf28958ccd (diff)
parente9f9e00bd9ed9c4c34a5d15c219af56c1010763a (diff)
Merge pull request #6132 from neikeq/pr-issue-6123
Confirm code completion with numpad key ENTER
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/text_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index b265ef840a..4756fdee26 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -1768,7 +1768,7 @@ void TextEdit::_input_event(const InputEvent& p_input_event) {
return;
}
- if (k.scancode==KEY_RETURN || k.scancode==KEY_TAB) {
+ if (k.scancode==KEY_ENTER || k.scancode==KEY_RETURN || k.scancode==KEY_TAB) {
_confirm_completion();
accept_event();