Don't double-up the root sheet in CurrentSheet in test harness.

This commit is contained in:
Jeff Young 2023-10-26 15:00:00 +01:00
parent 8d3a3419f8
commit e222f40696
1 changed files with 0 additions and 2 deletions

View File

@ -145,8 +145,6 @@ void LoadSchematic( SETTINGS_MANAGER& aSettingsManager, const wxString& aRelPath
aSchematic = LoadHierarchyFromRoot( schematicPath, &aSettingsManager.Prj() );
aSchematic->CurrentSheet().push_back( &aSchematic->Root() );
SCH_SCREENS screens( aSchematic->Root() );
for( SCH_SCREEN* screen = screens.GetFirst(); screen; screen = screens.GetNext() )