1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

Merge branch 'master' of github.com:laurent22/joplin

This commit is contained in:
Laurent Cozic 2018-06-11 00:24:44 +01:00
commit ced14e578f

View File

@ -394,7 +394,8 @@ class NoteTextComponent extends React.Component {
const resourcePath = Resource.fullPath(resource);
menu.append(new MenuItem({label: _('Open...'), click: async () => {
bridge().openExternal(resourcePath);
const ok = bridge().openExternal('file://' + resourcePath);
if (!ok) bridge().showErrorMessageBox(_('This file could not be opened: %s', resourcePath));
}}));
menu.append(new MenuItem({label: _('Save as...'), click: async () => {