Fix complex hierarchy instance data when loading legacy schematic.

This commit is contained in:
Wayne Stambaugh 2022-10-15 14:50:06 -04:00
parent f782323960
commit b109136c5c
1 changed files with 1 additions and 1 deletions

View File

@ -1200,7 +1200,7 @@ SCH_SYMBOL* SCH_LEGACY_PLUGIN::loadSymbol( LINE_READER& aReader )
// UUID so we need to prefix it to the symbol path so the symbol instance paths // UUID so we need to prefix it to the symbol path so the symbol instance paths
// get saved with the root schematic UUID. // get saved with the root schematic UUID.
if( !m_appending ) if( !m_appending )
path.insert( path.begin(), m_rootSheet->GetScreen()->m_Uuid ); path.insert( path.begin(), m_rootSheet->GetScreen()->GetUuid() );
strCompare = "Ref="; strCompare = "Ref=";
len = strlen( strCompare ); len = strlen( strCompare );