Use absolute paths when invoking the external viewer; it doesn't know what our current working directory is.
This commit is contained in:
parent
b617f761d5
commit
8f7322a056
1 changed files with 1 additions and 1 deletions
|
@ -341,7 +341,7 @@ class ConvertDialog extends JDialog
|
|||
return;
|
||||
}
|
||||
|
||||
openWithExternalViewer(this, fileToOpen);
|
||||
openWithExternalViewer(this, namedFile.getAbsolutePath());
|
||||
} catch (SecurityException se) {
|
||||
JOptionPane.showMessageDialog(this,
|
||||
"Cannot proceed because your security policy interfered.",
|
||||
|
|
Loading…
Reference in a new issue