KiCad: fix crash when attempting to view ERC log with text editor.

Fixes lp:1619436

https://bugs.launchpad.net/kicad/+bug/1619436
This commit is contained in:
jp charras 2016-09-27 15:03:26 -04:00 committed by Wayne Stambaugh
parent fa85cb3a8b
commit 5b4542231e
1 changed files with 0 additions and 3 deletions

View File

@ -563,10 +563,7 @@ void DIALOG_ERC::TestErc( wxArrayString* aMessagesList )
return;
if( WriteDiagnosticERC( dlg.GetPath() ) )
{
Close( true );
ExecuteFile( this, Pgm().GetEditorName(), QuoteFullPath( fn ) );
}
}
}