Use dialog setter for consistency with other properties
This commit is contained in:
parent
17fe5efa13
commit
a746651d1c
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ void SetupDialogForProperties(NSOpenPanel* dialog, int properties) {
|
||||||
if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES)
|
if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES)
|
||||||
[dialog setShowsHiddenFiles:YES];
|
[dialog setShowsHiddenFiles:YES];
|
||||||
if (properties & FILE_DIALOG_NO_RESOLVE_ALIASES)
|
if (properties & FILE_DIALOG_NO_RESOLVE_ALIASES)
|
||||||
dialog.resolvesAliases = false;
|
[dialog setResolvesAliases:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run modal dialog with parent window and return user's choice.
|
// Run modal dialog with parent window and return user's choice.
|
||||||
|
|
Loading…
Reference in a new issue