Don't double-up the root sheet in CurrentSheet in test harness.
This commit is contained in:
parent
8d3a3419f8
commit
e222f40696
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue