Set description on Altium imported symbols

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16943
This commit is contained in:
Jon Evans 2024-03-05 23:08:11 -05:00
parent 1600d8bead
commit 4bc69183ab
1 changed files with 1 additions and 0 deletions

View File

@ -1140,6 +1140,7 @@ void SCH_IO_ALTIUM::ParseComponent( int aIndex, const std::map<wxString, wxStrin
// component->SetOrientation( elem.orientation );
symbol->SetLibId( libId );
symbol->SetUnit( std::max( 0, elem.currentpartid ) );
symbol->GetField( DESCRIPTION_FIELD )->SetText( elem.componentdescription );
SCH_SCREEN* screen = getCurrentScreen();
wxCHECK( screen, /* void */ );