From 57b5d112f724ea15a24eafb69167463f1c71ce83 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Tue, 24 Jan 2023 14:49:11 +0200 Subject: [PATCH] [Input] Do not add key labels to the default actions, to display it correctly in the UI. --- core/input/input_event.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp index dbe9b55ee34..74c0812f436 100644 --- a/core/input/input_event.cpp +++ b/core/input/input_event.cpp @@ -478,7 +478,6 @@ Ref InputEventKey::create_reference(Key p_keycode) { Ref ie; ie.instantiate(); ie->set_keycode(p_keycode & KeyModifierMask::CODE_MASK); - ie->set_key_label(p_keycode & KeyModifierMask::CODE_MASK); ie->set_unicode(char32_t(p_keycode & KeyModifierMask::CODE_MASK)); if ((p_keycode & KeyModifierMask::SHIFT) != Key::NONE) {