Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix InputEventConfigurationDialog modifies original event #74858

Merged
merged 1 commit into from Mar 15, 2023

Conversation

dalexeev
Copy link
Member

@dalexeev dalexeev commented Mar 13, 2023

The bug is due to swapped arguments.

void _set_event(const Ref<InputEvent> &p_event, const Ref<InputEvent> &p_original_event, bool p_update_input_list_selection = true);

_set_event(p_event, p_event->duplicate());

Closes #74389.

@YuriSizov YuriSizov merged commit f2eb40d into godotengine:master Mar 15, 2023
13 checks passed
@YuriSizov
Copy link
Contributor

Thanks!

@dalexeev dalexeev deleted the fix-input-event-dialog branch March 15, 2023 12:35
@YuriSizov
Copy link
Contributor

Cherry-picked for 4.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor Shortcuts reset after restarting Godot
3 participants