From c3015f4671c1aefbd2f3d559165ff2358a7ba773 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 23 Nov 2017 10:38:12 +0100 Subject: [PATCH] Fix incorrect LIB_ID exported by viewlib when used as component chooser (was not to the new format libname::symbol_name) --- eeschema/viewlib_frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );