From 1a53c4d3c248d9f37d27d20c2dd5657fe31ab573 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Fri, 12 Aug 2016 13:37:10 +0200 Subject: [PATCH] Confirm code completion with numpad key ENTER (cherry picked from commit e9f9e00bd9ed9c4c34a5d15c219af56c1010763a) --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index b265ef840a5..4756fdee265 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();