From 9200e32b0ef4e55f9fcfcb5a0256f789c5421be6 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Wed, 11 May 2016 10:26:15 +0200 Subject: [PATCH] :memo: Document Dialog Buttons Behavior on Windows Closes #5464 --- docs/api/dialog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/dialog.md b/docs/api/dialog.md index 0ba41df..1444b59 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -88,7 +88,7 @@ will be passed via `callback(filename)` * `type` String - Can be `"none"`, `"info"`, `"error"`, `"question"` or `"warning"`. On Windows, "question" displays the same icon as "info", unless you set an icon using the "icon" option. - * `buttons` Array - Array of texts for buttons. + * `buttons` Array - Array of texts for buttons. On Windows, an empty array will result in one button labeled "OK". * `defaultId` Integer - Index of the button in the buttons array which will be selected by default when the message box opens. * `title` String - Title of the message box, some platforms will not show it. -- 2.7.4