From bf3438902b1ce05c2b8afe0551e92b522062be39 Mon Sep 17 00:00:00 2001 From: Amit Haridas Date: Sun, 23 Aug 2026 08:24:23 +0530 Subject: [PATCH] fix(pdf): route Open PDF File menu item to the working editor dialog channel --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 563bfcf..86df24e 100644 --- a/src/main.js +++ b/src/main.js @@ -1679,7 +1679,7 @@ function openPDFFile() { dialog.showErrorBox('File Too Large', `File exceeds the ${MAX_FILE_SIZE_MB}MB size limit.`); return; } - mainWindow.webContents.send('open-pdf-viewer', files[0]); + mainWindow.webContents.send('show-pdf-editor-dialog', null, files[0]); } } function openFile() {