LibEdit: fix bug #1362580 (EESchema crashes on new library save).

This commit is contained in:
jean-pierre charras 2014-08-29 08:46:14 +02:00
parent 3cbf8a7205
commit 49aff8bcf7
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ void LIB_EDIT_FRAME::OnExportPart( wxCommandEvent& event )
{ {
FILE_OUTPUTFORMATTER formatter( fn.GetFullPath() ); FILE_OUTPUTFORMATTER formatter( fn.GetFullPath() );
result = GetCurLib()->Save( formatter ); result = temp_lib.get()->Save( formatter );
} }
catch( ... /* IO_ERROR ioe */ ) catch( ... /* IO_ERROR ioe */ )
{ {