docs: Fix incorrect dialog docs (#18227)

* docs: Fix incorrect dialog docs

We had multiple definitions for `showSaveDialog`.

* docs: Update, take two
This commit is contained in:
Felix Rieseberg 2019-06-03 21:54:47 +02:00 committed by Shelley Vohr
parent 8b5473c170
commit cb4579fe28

View file

@ -154,7 +154,7 @@ dialog.showOpenDialog(mainWindow, {
})
```
### `dialog.showSaveDialog([browserWindow, ]options)`
### `dialog.showSaveDialogSync([browserWindow, ]options)`
* `browserWindow` [BrowserWindow](browser-window.md) (optional)
* `options` Object