Pay attention to units for page frames.

Fixes https://gitlab.com/kicad/code/kicad/issues/11408

(cherry picked from commit 404015b0a5)
This commit is contained in:
Jeff Young 2022-07-23 20:16:08 +01:00
parent 7b5e3feb19
commit efc75047c1
1 changed files with 1 additions and 0 deletions

View File

@ -1744,6 +1744,7 @@ bool SCH_EAGLE_PLUGIN::loadSymbol( wxXmlNode* aSymbolNode, std::unique_ptr<LIB_S
for( LIB_ITEM* item : frameItems )
{
item->SetParent( aSymbol.get() );
item->SetUnit( aGateNumber );
aSymbol->AddDrawItem( item );
}
}