[macOS] Allow native dialog to select bundles and browse bundle content.

This commit is contained in:
Pāvels Nadtočajevs
2025-08-01 08:39:11 +03:00
parent 4219ce91f2
commit 14e1dbd2e0
+1
View File
@@ -1137,6 +1137,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 != "") {