From 9423143211bc2368a8db188c9381927215228c86 Mon Sep 17 00:00:00 2001 From: Tan Wang Leng Date: Thu, 9 Feb 2017 21:01:40 +0800 Subject: [PATCH] Change the default value of showsTagField to true The default value of showsTagField in macOS's NSSavePanel is true. Therefore, in order to follow the standard behavior and not break backwards-compatibility, let's change the default value of showsTagField to true. Reference: https://developer.apple.com/reference/appkit/nssavepanel/1525589-showstagfield?language=objc --- lib/browser/api/dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/api/dialog.js b/lib/browser/api/dialog.js index 73a519cc20b1..e046eadc16a1 100644 --- a/lib/browser/api/dialog.js +++ b/lib/browser/api/dialog.js @@ -182,7 +182,7 @@ module.exports = { } if (showsTagField == null) { - showsTagField = false + showsTagField = true } const wrappedCallback = typeof callback === 'function' ? function (success, result) {