🍎 Fix treat packaged app as directory
This commit is contained in:
parent
3abeb6e2bc
commit
80e35b6682
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ void SetupDialog(NSSavePanel* dialog,
|
|||
|
||||
void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {
|
||||
[dialog setCanChooseFiles:(properties & FILE_DIALOG_OPEN_FILE)];
|
||||
[dialog setTreatsFilePackagesAsDirectories:YES];
|
||||
if (properties & FILE_DIALOG_OPEN_DIRECTORY)
|
||||
[dialog setCanChooseDirectories:YES];
|
||||
if (properties & FILE_DIALOG_CREATE_DIRECTORY)
|
||||
|
|
Loading…
Reference in a new issue