Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix treat packaged app as directory #9834

Conversation

shubham2892
Copy link
Contributor

Fixes #8948
Added the flag that enables treating file packages as directories.

@@ -93,6 +93,7 @@ void SetupDialog(NSSavePanel* dialog,

void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {
[dialog setCanChooseFiles:(properties & FILE_DIALOG_OPEN_FILE)];
[dialog setTreatsFilePackagesAsDirectories:YES];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shubham2892 what do you think about making this an option instead of always on? Similar to how setResolveAliases support was added in #8617.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes adding the option instead of making it mandatory would be better. Made the changes.

@kevinsawicki kevinsawicki force-pushed the input-type-file-treating-packaged-app-as-directory branch from d85a802 to b25a1d1 Compare July 18, 2017 17:13
@kevinsawicki
Copy link
Contributor

Thanks for this @shubham2892 👍 🍎 🍏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants