Fix broken schematic symbol library links in sub-sheets.
Only the root sheet symbol library links were being updated when the schematic was loaded so changed call to update all sheets. Fixes lp:1670079 https://bugs.launchpad.net/kicad/+bug/1670079
This commit is contained in:
parent
f181961866
commit
d9260d42c8
|
@ -349,12 +349,13 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
|
|||
|
||||
if( !rescueNeverShow )
|
||||
{
|
||||
if( RescueProject( false ) )
|
||||
{
|
||||
GetScreen()->CheckComponentsToPartsLinks();
|
||||
GetScreen()->TestDanglingEnds();
|
||||
}
|
||||
RescueProject( false );
|
||||
}
|
||||
|
||||
SCH_SCREENS schematic;
|
||||
|
||||
schematic.UpdateSymbolLinks(); // Update all symbol library links for all sheets.
|
||||
GetScreen()->TestDanglingEnds(); // Only perform the dangling end test on root sheet.
|
||||
}
|
||||
|
||||
GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId );
|
||||
|
|
Loading…
Reference in New Issue