🍎 Fix treat packaged app as directory

This commit is contained in:
Shubham 2017-06-22 17:10:22 -04:00
parent 3abeb6e2bc
commit 80e35b6682

View file

@ -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)