Confirm code completion with numpad key ENTER

(cherry picked from commit e9f9e00bd9)
This commit is contained in:
Ignacio Etcheverry 2016-08-12 13:37:10 +02:00 committed by Rémi Verschelde
parent 37fc61f986
commit 1a53c4d3c2

View file

@ -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();