Desktop: Fix identification of note in pdf export from main menu. (#2323)

pull/2361/head
mic704b 2020-01-25 07:57:11 +11:00 committed by Laurent Cozic
parent f78729ad1f
commit ea05fea234
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}