7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 00:21:25 +00:00

Update reported name for teardrop areas

When reporting DRC, teardrops are treated as tracks but reported as
zones.  This causes confusion for designers using specific keepouts.
This changes the reported name to "Teardrop" for consistency
This commit is contained in:
Seth Hillbrand 2025-02-10 14:34:56 -08:00
parent 63e0e01ec9
commit d0077cceb3

View File

@ -1093,6 +1093,8 @@ wxString ZONE::GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull )
{
if( GetIsRuleArea() )
return wxString::Format( _( "Rule Area %s" ), layerDesc );
else if( IsTeardropArea() )
return wxString::Format( _( "Teardrop %s %s" ), GetNetnameMsg(), layerDesc );
else
return wxString::Format( _( "Zone %s %s" ), GetNetnameMsg(), layerDesc );
}