mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-08-23 23:10:17 +05:30
fix(pdf): route Open PDF File menu item to the working editor dialog channel
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user