Fixes: lp:1619436
https://bugs.launchpad.net/kicad/+bug/1619436 Eeschema crashes when selecting a text editor from the REC dialog. (Linux Only) It happens only if a text editor was never selected in Kicad.
This commit is contained in:
parent
9740d5e433
commit
b63f2f81b7
|
@ -606,12 +606,9 @@ void DIALOG_ERC::TestErc( wxArrayString* aMessagesList )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( WriteDiagnosticERC( dlg.GetPath() ) )
|
if( WriteDiagnosticERC( dlg.GetPath() ) )
|
||||||
{
|
|
||||||
Close( true );
|
|
||||||
ExecuteFile( this, Pgm().GetEditorName(), QuoteFullPath( fn ) );
|
ExecuteFile( this, Pgm().GetEditorName(), QuoteFullPath( fn ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
wxDialog* InvokeDialogERC( SCH_EDIT_FRAME* aCaller )
|
wxDialog* InvokeDialogERC( SCH_EDIT_FRAME* aCaller )
|
||||||
|
|
Loading…
Reference in New Issue