Use quoted file name when opening a PDF file

Fixes: lp:1783667
* https://bugs.launchpad.net/kicad/+bug/1783667
This commit is contained in:
Maciej Suminski 2018-07-26 12:04:54 +02:00
parent dbf4bcdbb7
commit bbfc1eb12c
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