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:
Maciej Suminski 2018-07-26 12:04:54 +02:00
parent 35576adb73
commit d63c1a2118
1 changed files with 1 additions and 1 deletions

View File

@ -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