mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Electron: Fixes #630: PDF export in context menu
This commit is contained in:
parent
f5a72ffbaf
commit
971339ca9a
@ -119,6 +119,13 @@ class NoteListComponent extends React.Component {
|
|||||||
}}));
|
}}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exportMenu.append(new MenuItem({ label: 'PDF - ' + _('PDF File') , click: () => {
|
||||||
|
this.props.dispatch({
|
||||||
|
type: 'WINDOW_COMMAND',
|
||||||
|
name: 'exportPdf',
|
||||||
|
});
|
||||||
|
}}));
|
||||||
|
|
||||||
const exportMenuItem = new MenuItem({label: _('Export'), submenu: exportMenu});
|
const exportMenuItem = new MenuItem({label: _('Export'), submenu: exportMenu});
|
||||||
|
|
||||||
menu.append(exportMenuItem);
|
menu.append(exportMenuItem);
|
||||||
|
Loading…
Reference in New Issue
Block a user