1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

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