Skip to content

Commit ab3fe2d

Browse files
committed
[macOS] Allow native dialog to select bundles and browse bundle content.
1 parent 0863a27 commit ab3fe2d

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
@@ -1137,6 +1137,7 @@
11371137
[panel setCanCreateDirectories:YES];
11381138
[panel setCanChooseFiles:(p_mode != FILE_DIALOG_MODE_OPEN_DIR)];
11391139
[panel setCanChooseDirectories:(p_mode == FILE_DIALOG_MODE_OPEN_DIR || p_mode == FILE_DIALOG_MODE_OPEN_ANY)];
1140+
[panel setTreatsFilePackagesAsDirectories:YES];
11401141
[panel setShowsHiddenFiles:p_show_hidden];
11411142
[panel setDelegate:panel_delegate];
11421143
if (p_filename != "") {

0 commit comments

Comments
 (0)