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

[Native File Dialogs] Improve filter list handling, add selected filter to the callback. #81218

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Sep 1, 2023

Alternative version of #80842 with some additional features.

  • Adds more filter checks.
  • Adds mode value checks.
  • Handles *.x,*.y;X + Y filter as a single filter.
  • (macOS) Adds accessory view with the selectable filter list. Screenshot 2023-09-01 at 10 13 04
  • (Breaking Change) Adds an extra argument to the callback function, with current selected filter.

Fixes #80784

@akien-mga akien-mga modified the milestones: 4.x, 4.2 Oct 3, 2023
@akien-mga
Copy link
Member

Since this supersedes #80952, does it also fix #80905?

@bruvzg
Copy link
Member Author

bruvzg commented Oct 3, 2023

Since this supersedes #80952, does it also fix #80905?

It supersede #80842 not #80952 (seems like I have added a note to the wrong PR), so no it doesn't.

@akien-mga
Copy link
Member

Needs rebase.

@akien-mga akien-mga merged commit d5db0e5 into godotengine:master Oct 4, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

Executing DisplayServer.file_dialog_show function crashes Godot
3 participants