Add support for a noResolveAliases property

This commit is contained in:
Samuel Attard 2017-02-12 15:23:27 +11:00 committed by Kevin Sawicki
parent 266c78b861
commit e45d8079b8
3 changed files with 11 additions and 7 deletions

View file

@ -93,6 +93,8 @@ void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {
[dialog setAllowsMultipleSelection:YES];
if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES)
[dialog setShowsHiddenFiles:YES];
if (properties & FILE_DIALOG_NO_RESOLVE_ALIASES)
dialog.resolvesAliases = false;
}
// Run modal dialog with parent window and return user's choice.