Use quoted file name when opening a PDF file
Fixes: lp:1783667 * https://bugs.launchpad.net/kicad/+bug/1783667
This commit is contained in:
+1
-1
@@ -358,7 +358,7 @@ bool OpenPDF( const wxString& file )
|
||||
}
|
||||
else
|
||||
{
|
||||
if( wxLaunchDefaultApplication( file ) )
|
||||
if( wxLaunchDefaultApplication( filename ) )
|
||||
return true;
|
||||
|
||||
// If launching the system default PDF viewer fails, fall through with empty command
|
||||
|
||||
Reference in New Issue
Block a user