Use dialog setter for consistency with other properties

This commit is contained in:
Kevin Sawicki 2017-02-13 08:23:49 -08:00
parent 17fe5efa13
commit a746651d1c

View file

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