diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-25 15:22:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-25 15:22:53 +0100 |
commit | fbfa12dd762bbf65bf26b574a13e5fffa57879a6 (patch) | |
tree | 50d4fa7138be452b99ab50d4543f54bd16a485c5 | |
parent | 6d28ff6e23a0e598037af056ad6532c00c49ef56 (diff) |
Fixup enum compare after #53734
-rw-r--r-- | editor/action_map_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/action_map_editor.cpp b/editor/action_map_editor.cpp index c48b622670..96931efd3b 100644 --- a/editor/action_map_editor.cpp +++ b/editor/action_map_editor.cpp @@ -1103,7 +1103,7 @@ void ActionMapEditor::update_action_list(const Vector<ActionInfo> &p_action_info // First Column - Icon Ref<InputEventKey> k = event; if (k.is_valid()) { - if (k->get_physical_keycode() == 0) { + if (k->get_physical_keycode() == Key::NONE) { event_item->set_icon(0, action_tree->get_theme_icon(SNAME("Keyboard"), SNAME("EditorIcons"))); } else { event_item->set_icon(0, action_tree->get_theme_icon(SNAME("KeyboardPhysical"), SNAME("EditorIcons"))); |