Use absolute paths when invoking the external viewer; it doesn't know what our current working directory is.

This commit is contained in:
dchandler 2003-12-08 06:53:37 +00:00
parent b617f761d5
commit 8f7322a056
1 changed files with 1 additions and 1 deletions

View File

@ -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.",