From a746651d1cea692ffc57209bb87d2794c726de23 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 13 Feb 2017 08:23:49 -0800 Subject: [PATCH] Use dialog setter for consistency with other properties --- atom/browser/ui/file_dialog_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/ui/file_dialog_mac.mm b/atom/browser/ui/file_dialog_mac.mm index 4fac811414bd..70272cbddc8f 100644 --- a/atom/browser/ui/file_dialog_mac.mm +++ b/atom/browser/ui/file_dialog_mac.mm @@ -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.