From de0ec9b33ccce1c577a9a073c27ec814f7007120 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 1 Dec 2016 09:31:11 -0800 Subject: [PATCH] Tweak cancelId docs --- docs/api/dialog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 8cebc72..97ab1e21 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -106,8 +106,8 @@ will be passed via `callback(filename)` * `cancelId` Integer (optional) - The value will be returned when user cancels the dialog instead of clicking the buttons of the dialog. By default it is the index of the buttons that have "cancel" or "no" as label, or 0 if there is no such - buttons. On macOS and Windows the index of "Cancel" button will always be - used as `cancelId`, not matter whether it is already specified. + buttons. On macOS and Windows the index of the "Cancel" button will always + be used as `cancelId` even if it is specified. * `noLink` Boolean (optional) - On Windows Electron will try to figure out which one of the `buttons` are common buttons (like "Cancel" or "Yes"), and show the others as command links in the dialog. This can make the dialog appear in -- 2.7.4