From 8afbe544a318f81dca4660832a50f82a8358d7c3 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 (cherry picked from commit 4bc69183ab2f32fff270646c3be3dfd9666c698a) --- 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 b0df67eb29..cc8536435b 100644 --- a/eeschema/sch_io/altium/sch_io_altium.cpp +++ b/eeschema/sch_io/altium/sch_io_altium.cpp @@ -1001,6 +1001,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 */ );