EAGLE and Altium SCH importers: UpdateSymbolLinks after import
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7687
This commit is contained in:
parent
5e0b65c3a8
commit
a0889705e7
|
@ -220,6 +220,9 @@ SCH_SHEET* SCH_ALTIUM_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSchem
|
||||||
|
|
||||||
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
|
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
|
||||||
|
|
||||||
|
SCH_SCREENS allSheets( m_rootSheet );
|
||||||
|
allSheets.UpdateSymbolLinks(); // Update all symbol library links for all sheets.
|
||||||
|
|
||||||
return m_rootSheet;
|
return m_rootSheet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -479,6 +479,9 @@ SCH_SHEET* SCH_EAGLE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSchema
|
||||||
|
|
||||||
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
|
m_pi->SaveLibrary( getLibFileName().GetFullPath() );
|
||||||
|
|
||||||
|
SCH_SCREENS allSheets( m_rootSheet );
|
||||||
|
allSheets.UpdateSymbolLinks(); // Update all symbol library links for all sheets.
|
||||||
|
|
||||||
return m_rootSheet;
|
return m_rootSheet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue