From ea05fea23423b1aa05cf8131f8846749a4568e4e Mon Sep 17 00:00:00 2001 From: mic704b Date: Sat, 25 Jan 2020 07:57:11 +1100 Subject: [PATCH] Desktop: Fix identification of note in pdf export from main menu. (#2323) --- ElectronClient/app/gui/NoteText.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElectronClient/app/gui/NoteText.jsx b/ElectronClient/app/gui/NoteText.jsx index cfe002cc67..87c3f56f2c 100644 --- a/ElectronClient/app/gui/NoteText.jsx +++ b/ElectronClient/app/gui/NoteText.jsx @@ -1299,7 +1299,7 @@ class NoteTextComponent extends React.Component { if (!path) return; - await this.printTo_('pdf', { path: path, noteId: args.noteId }); + await this.printTo_('pdf', { path: path, noteId: note.id }); } catch (error) { bridge().showErrorMessageBox(error.message); }