diff options
author | Danil Alexeev <danil@alexeev.xyz> | 2023-03-13 15:03:35 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-16 16:37:05 +0100 |
commit | 5acc7a77fe2d66189026338214ff32ae06b88188 (patch) | |
tree | 56b81b4f611e5a54d7550bc193bcd86fe4b1ec93 /editor | |
parent | 577afedc40d40e616db26edeb8800828f22a526f (diff) |
Fix `InputEventConfigurationDialog` modifies original event
(cherry picked from commit 9fbf24fd5c32f50130ae71e317ad73456853d3b5)
Diffstat (limited to 'editor')
-rw-r--r-- | editor/input_event_configuration_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/input_event_configuration_dialog.cpp b/editor/input_event_configuration_dialog.cpp index c620858439..c2b8992b69 100644 --- a/editor/input_event_configuration_dialog.cpp +++ b/editor/input_event_configuration_dialog.cpp @@ -547,7 +547,7 @@ void InputEventConfigurationDialog::_notification(int p_what) { void InputEventConfigurationDialog::popup_and_configure(const Ref<InputEvent> &p_event) { if (p_event.is_valid()) { - _set_event(p_event, p_event->duplicate()); + _set_event(p_event->duplicate(), p_event); } else { // Clear Event _set_event(Ref<InputEvent>(), Ref<InputEvent>()); |