Change <file>.toURL() to <file>.toURI().toURL()
This commit is contained in:
@@ -1025,7 +1025,7 @@ public class FunctionHelper
|
||||
// get file URL from the dialog
|
||||
try
|
||||
{
|
||||
sFileURL = aChooser.getSelectedFile().toURL().toExternalForm();
|
||||
sFileURL = aChooser.getSelectedFile().toURI().toURL().toExternalForm();
|
||||
}
|
||||
catch( MalformedURLException ex )
|
||||
{
|
||||
|
Reference in New Issue
Block a user