kicad manager, OnOpenFileInTextEditor(): do not quote the filename.
It will be quoted later. Fixes #14086 https://gitlab.com/kicad/code/kicad/issues/14086
This commit is contained in:
parent
f927c15adf
commit
5a501c8e48
|
@ -710,8 +710,7 @@ void KICAD_MANAGER_FRAME::OnOpenFileInTextEditor( wxCommandEvent& event )
|
|||
if( dlg.ShowModal() == wxID_CANCEL )
|
||||
return;
|
||||
|
||||
wxString filename = wxT( "\"" );
|
||||
filename += dlg.GetPath() + wxT( "\"" );
|
||||
wxString filename = dlg.GetPath();
|
||||
|
||||
if( !dlg.GetPath().IsEmpty() && !Pgm().GetTextEditor().IsEmpty() )
|
||||
m_toolManager->RunAction( KICAD_MANAGER_ACTIONS::openTextEditor, true, &filename );
|
||||
|
|
Loading…
Reference in New Issue