Add support for a noResolveAliases property
This commit is contained in:
parent
266c78b861
commit
e45d8079b8
3 changed files with 11 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue