From 41e593552b9f59c6ba416f5229490d8b32fb0997 Mon Sep 17 00:00:00 2001 From: jmb462 Date: Tue, 14 Sep 2021 18:10:03 +0200 Subject: Fix wrong behavior of Action Map Editor with non QWERTY layouts --- editor/action_map_editor.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'editor') 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 & 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); } } -- cgit v1.2.3