Fix opening received files with space in the name, in incoming file transfer.

cusax-fix
Yana Stamcheva 17 years ago
parent ee0423e87c
commit 4359c1e8c8

@ -346,7 +346,8 @@ public void open(final File file) throws IOException
else
{
if (!file.isDirectory())
org.jdesktop.jdic.desktop.Desktop.browse(file.toURL());
org.jdesktop.jdic.desktop.Desktop.browse(
file.toURI().toURL());
else
Runtime.getRuntime().exec("open "
+ file.getCanonicalPath());

Loading…
Cancel
Save