Skip to content

Commit 1c5586c

Browse files
committed
Merge pull request godotengine#109182 from bruvzg/bundle_sel
[macOS] Allow native dialog to select bundles and browse bundle content.
2 parents cf67fdd + ab3fe2d commit 1c5586c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

platform/macos/display_server_macos.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,7 @@
10561056
[panel setCanCreateDirectories:YES];
10571057
[panel setCanChooseFiles:(p_mode != FILE_DIALOG_MODE_OPEN_DIR)];
10581058
[panel setCanChooseDirectories:(p_mode == FILE_DIALOG_MODE_OPEN_DIR || p_mode == FILE_DIALOG_MODE_OPEN_ANY)];
1059+
[panel setTreatsFilePackagesAsDirectories:YES];
10591060
[panel setShowsHiddenFiles:p_show_hidden];
10601061
[panel setDelegate:panel_delegate];
10611062
if (p_filename != "") {

0 commit comments

Comments
 (0)