mirror of
https://github.com/godotengine/godot.git
synced 2026-02-07 19:32:36 +00:00
Merge pull request #109182 from bruvzg/bundle_sel
[macOS] Allow native dialog to select bundles and browse bundle content.
This commit is contained in:
@@ -1056,6 +1056,7 @@ Error DisplayServerMacOS::_file_dialog_with_options_show(const String &p_title,
|
||||
[panel setCanCreateDirectories:YES];
|
||||
[panel setCanChooseFiles:(p_mode != FILE_DIALOG_MODE_OPEN_DIR)];
|
||||
[panel setCanChooseDirectories:(p_mode == FILE_DIALOG_MODE_OPEN_DIR || p_mode == FILE_DIALOG_MODE_OPEN_ANY)];
|
||||
[panel setTreatsFilePackagesAsDirectories:YES];
|
||||
[panel setShowsHiddenFiles:p_show_hidden];
|
||||
[panel setDelegate:panel_delegate];
|
||||
if (p_filename != "") {
|
||||
|
||||
Reference in New Issue
Block a user