LibEdit: fix bug #1362580 (EESchema crashes on new library save).
This commit is contained in:
parent
3cbf8a7205
commit
49aff8bcf7
|
@ -136,7 +136,7 @@ void LIB_EDIT_FRAME::OnExportPart( wxCommandEvent& event )
|
|||
{
|
||||
FILE_OUTPUTFORMATTER formatter( fn.GetFullPath() );
|
||||
|
||||
result = GetCurLib()->Save( formatter );
|
||||
result = temp_lib.get()->Save( formatter );
|
||||
}
|
||||
catch( ... /* IO_ERROR ioe */ )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue