mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Properties: show via friendly name
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13635
This commit is contained in:
parent
09b83b95d0
commit
e11012fe06
@ -851,7 +851,13 @@ double PCB_VIA::ViewGetLOD( int aLayer, KIGFX::VIEW* aView ) const
|
||||
|
||||
wxString PCB_TRACK::GetFriendlyName() const
|
||||
{
|
||||
return Type() == PCB_ARC_T ? _( "Track (arc)" ) : _( "Track" );
|
||||
switch( Type() )
|
||||
{
|
||||
case PCB_ARC_T: return _( "Track (arc)" );
|
||||
case PCB_VIA_T: return _( "Via" );
|
||||
case PCB_TRACE_T:
|
||||
default: return _( "Track" );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user