summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-14 20:57:10 +0200
committerGitHub <noreply@github.com>2021-09-14 20:57:10 +0200
commit0c11fe0008f1f41fee6baea1cbd4630d3862c1c3 (patch)
treea50116a9c694e5f944f44fb5f2133f43a8f1f74d /editor
parent72c813630f50837951aced03b757e8155e89b2db (diff)
parent41e593552b9f59c6ba416f5229490d8b32fb0997 (diff)
Merge pull request #52202 from jmb462/fix-wrong-behavior-action-editor-with-non-qwerty-layouts
Fix wrong behavior of Action Map Editor with non QWERTY layouts (Fix #52169)
Diffstat (limited to 'editor')
-rw-r--r--editor/action_map_editor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/action_map_editor.cpp b/editor/action_map_editor.cpp
index 7aa63f899b..6789b5be00 100644
--- a/editor/action_map_editor.cpp
+++ b/editor/action_map_editor.cpp
@@ -248,10 +248,8 @@ void InputEventConfigurationDialog::_listen_window_input(const Ref<InputEvent> &
k->set_pressed(false); // to avoid serialisation of 'pressed' property - doesn't matter for actions anyway.
// Maintain physical keycode option state
if (physical_key_checkbox->is_pressed()) {
- k->set_physical_keycode(k->get_keycode());
k->set_keycode(KEY_NONE);
} else {
- k->set_keycode((Key)k->get_physical_keycode());
k->set_physical_keycode(KEY_NONE);
}
}