SCH_PIN::GetMsgPanelInfo(): fix missing initialization of Pin Number string
The displayed string was a old value, not related to the Pin Nummber Fixes #7414 https://gitlab.com/kicad/code/kicad/issues/7414
This commit is contained in:
parent
0de3d48db5
commit
658a5cf7ed
|
@ -175,6 +175,7 @@ void SCH_PIN::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, MSG_PANEL_ITEMS& aList )
|
||||||
aList.push_back( MSG_PANEL_ITEM( _( "Converted" ), msg ) );
|
aList.push_back( MSG_PANEL_ITEM( _( "Converted" ), msg ) );
|
||||||
|
|
||||||
aList.push_back( MSG_PANEL_ITEM( _( "Name" ), GetName() ) );
|
aList.push_back( MSG_PANEL_ITEM( _( "Name" ), GetName() ) );
|
||||||
|
msg = GetNumber().IsEmpty() ? wxT( "?" ) : GetNumber();
|
||||||
aList.push_back( MSG_PANEL_ITEM( _( "Number" ), msg ) );
|
aList.push_back( MSG_PANEL_ITEM( _( "Number" ), msg ) );
|
||||||
aList.push_back( MSG_PANEL_ITEM( _( "Type" ), ElectricalPinTypeGetText( GetType() ) ) );
|
aList.push_back( MSG_PANEL_ITEM( _( "Type" ), ElectricalPinTypeGetText( GetType() ) ) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue