Report nets on pads.

This commit is contained in:
Jeff Young 2021-10-29 00:02:49 +01:00
parent 4afb59fda0
commit 1abd45ac15
1 changed files with 8 additions and 4 deletions

View File

@ -1122,13 +1122,15 @@ wxString PAD::GetSelectMenuText( EDA_UNITS aUnits ) const
{
if( GetAttribute() == PAD_ATTRIB::SMD || GetAttribute() == PAD_ATTRIB::CONN )
{
return wxString::Format( _( "Pad of %s on %s" ),
return wxString::Format( _( "Pad %s of %s on %s" ),
GetNetnameMsg(),
GetParent()->GetReference(),
layerMaskDescribe() );
}
else
{
return wxString::Format( _( "Through hole pad of %s" ),
return wxString::Format( _( "Through hole pad %s of %s" ),
GetNetnameMsg(),
GetParent()->GetReference() );
}
}
@ -1136,15 +1138,17 @@ wxString PAD::GetSelectMenuText( EDA_UNITS aUnits ) const
{
if( GetAttribute() == PAD_ATTRIB::SMD || GetAttribute() == PAD_ATTRIB::CONN )
{
return wxString::Format( _( "Pad %s of %s on %s" ),
return wxString::Format( _( "Pad %s %s of %s on %s" ),
GetNumber(),
GetNetnameMsg(),
GetParent()->GetReference(),
layerMaskDescribe() );
}
else
{
return wxString::Format( _( "Through hole pad %s of %s" ),
return wxString::Format( _( "Through hole pad %s %s of %s" ),
GetNumber(),
GetNetnameMsg(),
GetParent()->GetReference() );
}
}