fix(pdf): route Open PDF File menu item to the working editor dialog channel

This commit is contained in:
2026-08-23 19:31:33 +05:30
parent edb5db358a
commit bf3438902b
+1 -1
View File
@@ -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() {