summaryrefslogtreecommitdiff
path: root/core/input
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-01-24 14:49:11 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-01-24 14:49:11 +0200
commit57b5d112f724ea15a24eafb69167463f1c71ce83 (patch)
treedb36383288e4be10ca9dab6034280d873a24688e /core/input
parent4fa6edc888cfacd5346bf08afa14b5f5a9bd6d0c (diff)
[Input] Do not add key labels to the default actions, to display it correctly in the UI.
Diffstat (limited to 'core/input')
-rw-r--r--core/input/input_event.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/input/input_event.cpp b/core/input/input_event.cpp
index dbe9b55ee3..74c0812f43 100644
--- a/core/input/input_event.cpp
+++ b/core/input/input_event.cpp
@@ -478,7 +478,6 @@ Ref<InputEventKey> InputEventKey::create_reference(Key p_keycode) {
Ref<InputEventKey> 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) {