From 4bc69183ab2f32fff270646c3be3dfd9666c698a Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 5 Mar 2024 23:08:11 -0500 Subject: [PATCH] Set description on Altium imported symbols Fixes https://gitlab.com/kicad/code/kicad/-/issues/16943 --- eeschema/sch_io/altium/sch_io_altium.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/sch_io/altium/sch_io_altium.cpp b/eeschema/sch_io/altium/sch_io_altium.cpp index 97f7d8c6d5..2bb6ad53d8 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -1140,6 +1140,7 @@ void SCH_IO_ALTIUM::ParseComponent( int aIndex, const std::mapSetOrientation( 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 */ );