diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-08-12 13:37:10 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-08-12 13:37:10 +0200 |
commit | e9f9e00bd9ed9c4c34a5d15c219af56c1010763a (patch) | |
tree | 94b2bb73fe74447f7f9684c3ef6fd358706eed74 /scene | |
parent | 6d5d23fa8de8673f4a2b312c05588fd4e7195543 (diff) |
Confirm code completion with numpad key ENTER
Diffstat (limited to 'scene')
-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 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(); |