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