Skip to content

Fix wrong context menu argument from FileSystem's item list #106040

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

Merged
merged 1 commit into from
Jun 22, 2025

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented May 2, 2025

EditorContextMenuPlugin is supposed to receive list of paths for FileSystem's callback.
It works when clicking the option, but it's broken when using the shortcut, but only in ItemList. The method was wrongly receiving a list of selected item IDs.

This PR fixes it and improves _file_list_get_selected() method.

@KoBeWi KoBeWi added bug topic:editor topic:plugin cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels May 2, 2025
@KoBeWi KoBeWi added this to the 4.5 milestone May 2, 2025
@KoBeWi KoBeWi requested a review from a team as a code owner May 2, 2025 22:59
@KoBeWi KoBeWi force-pushed the paths_stored_as_integer_lol branch from 2801953 to 0b5230b Compare June 22, 2025 13:10
@akien-mga akien-mga merged commit d786339 into godotengine:master Jun 22, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the paths_stored_as_integer_lol branch June 22, 2025 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release topic:editor topic:plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants