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
|
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…
Reference in New Issue