mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Use dialog setter for consistency with other properties
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user