From cb4579fe28c12cff762398538819df47e76fd451 Mon Sep 17 00:00:00 2001 From: Felix Rieseberg Date: Mon, 3 Jun 2019 21:54:47 +0200 Subject: [PATCH] docs: Fix incorrect dialog docs (#18227) * docs: Fix incorrect dialog docs We had multiple definitions for `showSaveDialog`. * docs: Update, take two --- 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 302ebadd5034..1f4a0c97e885 100644 --- a/docs/api/dialog.md +++ b/docs/api/dialog.md @@ -154,7 +154,7 @@ dialog.showOpenDialog(mainWindow, { }) ``` -### `dialog.showSaveDialog([browserWindow, ]options)` +### `dialog.showSaveDialogSync([browserWindow, ]options)` * `browserWindow` [BrowserWindow](browser-window.md) (optional) * `options` Object