Fix message panel for pins, take 2.

This commit is contained in:
Jeff Young 2024-04-21 15:12:12 +01:00
parent b4239b3ee4
commit 7d8215401a
1 changed files with 2 additions and 2 deletions

View File

@ -1565,14 +1565,14 @@ void SCH_PIN::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITE
aList.emplace_back( _( "Name" ), UnescapeString( GetShownName() ) );
aList.emplace_back( _( "Number" ), GetShownNumber() );
aList.emplace_back( _( "Type" ), ElectricalPinTypeGetText( GetType() ) );
aList.emplace_back( _( "Style" ), PinShapeGetText( m_shape ) );
aList.emplace_back( _( "Style" ), PinShapeGetText( GetShape() ) );
aList.emplace_back( _( "Visible" ), IsVisible() ? _( "Yes" ) : _( "No" ) );
// Display pin length
aList.emplace_back( _( "Length" ), aFrame->MessageTextFromValue( GetLength(), true ) );
aList.emplace_back( _( "Orientation" ), PinOrientationName( m_orientation ) );
aList.emplace_back( _( "Orientation" ), PinOrientationName( GetOrientation() ) );
if( dynamic_cast<LIB_SYMBOL*>( symbol ) )
{