Use quoted file name when opening a PDF file
Fixes: lp:1783667 * https://bugs.launchpad.net/kicad/+bug/1783667
This commit is contained in:
parent
dbf4bcdbb7
commit
bbfc1eb12c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue