Confirm code completion with numpad key ENTER

This commit is contained in:
Ignacio Etcheverry 2016-08-12 13:37:10 +02:00
parent 6d5d23fa8d
commit e9f9e00bd9

View file

@ -1768,7 +1768,7 @@ void TextEdit::_input_event(const InputEvent& p_input_event) {
return; 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(); _confirm_completion();
accept_event(); accept_event();