diff options
| author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-05-13 18:13:24 +0100 |
|---|---|---|
| committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2021-05-19 11:43:02 +0100 |
| commit | 7104229a85acbc30bf5dcc9c8a0ada8571910456 (patch) | |
| tree | 06ea7e0bd69e93d88d32039ece8375720f3e33e9 /editor/editor_settings.cpp | |
| parent | d0aaf4a1fd9e9943436ab6255a6d52257a794ce6 (diff) | |
| download | redot-engine-7104229a85acbc30bf5dcc9c8a0ada8571910456.tar.gz | |
Fix InputMap.action_erase_event() failing to erase events correctly.
Diffstat (limited to 'editor/editor_settings.cpp')
| -rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 0868c31c45..17abc9cfe5 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -1709,7 +1709,7 @@ void EditorSettings::set_builtin_action_override(const String &p_name, const Arr // Check equality of each event. for (List<Ref<InputEvent>>::Element *E = builtin_events.front(); E; E = E->next()) { - if (!E->get()->shortcut_match(p_events[event_idx])) { + if (!E->get()->is_match(p_events[event_idx])) { same_as_builtin = false; break; } |
