You've already forked godot
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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user