diff options
| -rw-r--r-- | electron/src/main/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/electron/src/main/index.js b/electron/src/main/index.js index 546580ea..356e50fb 100644 --- a/electron/src/main/index.js +++ b/electron/src/main/index.js @@ -68,6 +68,7 @@ function createWindow() { const saveOpt = { title: "Save PDF", defaultPath: "Inkstitch.pdf", + filters: [{ name: 'PDF', extensions: ['pdf'] }], bookmark: "true", } win.webContents.printToPDF({}).then(pageSize => { |
