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:
commit
ced14e578f
@ -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 () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user