Commit 49aff8bc authored by jean-pierre charras's avatar jean-pierre charras

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

parent 3cbf8a72
...@@ -136,7 +136,7 @@ void LIB_EDIT_FRAME::OnExportPart( wxCommandEvent& event ) ...@@ -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 */ )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment