Browse Source

Merge pull request #6132 from neikeq/pr-issue-6123

Confirm code completion with numpad key ENTER
Rémi Verschelde 9 years ago
parent
commit
b9e8bddf19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/gui/text_edit.cpp

+ 1 - 1
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();