EAGLE and Altium SCH importers: UpdateSymbolLinks after import

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7687
This commit is contained in:
Roberto Fernandez Bautista 2021-03-16 19:51:31 +00:00 committed by Jeff Young
parent 5e0b65c3a8
commit a0889705e7
2 changed files with 6 additions and 0 deletions

View File

@ -220,6 +220,9 @@ SCH_SHEET* SCH_ALTIUM_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSchem
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
SCH_SCREENS allSheets( m_rootSheet );
allSheets.UpdateSymbolLinks(); // Update all symbol library links for all sheets.
return m_rootSheet;
}

View File

@ -479,6 +479,9 @@ SCH_SHEET* SCH_EAGLE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSchema
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
SCH_SCREENS allSheets( m_rootSheet );
allSheets.UpdateSymbolLinks(); // Update all symbol library links for all sheets.
return m_rootSheet;
}