mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 08:21:39 +00:00
Eeschema: show pin names in net navigator
The pin number is useful, but you get a much better idea of where the net if going if you can also see the pin name.
This commit is contained in:
parent
974eea8d55
commit
5f69a5779f
@ -84,6 +84,11 @@ static wxString GetNetNavigatorItemText( const SCH_ITEM* aItem,
|
||||
retv.Printf( _( "Symbol '%s' pin '%s'" ),
|
||||
symbol->GetRef( &aSheetPath, true ),
|
||||
UnescapeString( pin->GetNumber() ) );
|
||||
|
||||
if( wxString pinName = UnescapeString( pin->GetShownName() ); !pinName.IsEmpty() )
|
||||
{
|
||||
retv += wxString::Format( " (%s)", pinName );
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user