diff --git a/eeschema/viewlib_frame.cpp b/eeschema/viewlib_frame.cpp index 68b2ccb68e..7a2cf00077 100644 --- a/eeschema/viewlib_frame.cpp +++ b/eeschema/viewlib_frame.cpp @@ -648,7 +648,7 @@ void LIB_VIEW_FRAME::ExportToSchematicLibraryPart( wxCommandEvent& event ) if( ii >= 0 ) { - wxString part_name = m_cmpList->GetString( ii ); + wxString part_name = m_libraryName + ':' + m_cmpList->GetString( ii ); // a selection was made, pass true DismissModal( true, part_name );