Schematic: display symbol's user-defined description in message panel

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/15298
This commit is contained in:
Mike Williams 2023-07-31 11:22:09 -04:00
parent 744452d092
commit b34309fdba
1 changed files with 2 additions and 1 deletions

View File

@ -1790,7 +1790,8 @@ void SCH_SYMBOL::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_
aList.emplace_back( _( "Footprint" ), msg );
// Display description of the symbol, and keywords found in lib
aList.emplace_back( _( "Description" ) + wxT( ": " ) + m_part->GetDescription(),
aList.emplace_back( _( "Description" ) + wxT( ": " )
+ GetField( DESCRIPTION_FIELD )->GetText(),
_( "Keywords" ) + wxT( ": " ) + m_part->GetKeyWords() );
}
}