Labels on pins should be considered "wire labels".
Fixes https://gitlab.com/kicad/code/kicad/issues/7120
This commit is contained in:
parent
288ecb9a02
commit
bd786b578a
|
@ -751,7 +751,7 @@ EDA_ITEM* SCH_LABEL::Clone() const
|
|||
|
||||
bool SCH_LABEL::IsType( const KICAD_T aScanTypes[] ) const
|
||||
{
|
||||
static KICAD_T wireTypes[] = { SCH_LINE_LOCATE_WIRE_T, EOT };
|
||||
static KICAD_T wireTypes[] = { SCH_LINE_LOCATE_WIRE_T, SCH_PIN_T, EOT };
|
||||
static KICAD_T busTypes[] = { SCH_LINE_LOCATE_BUS_T, EOT };
|
||||
|
||||
if( SCH_ITEM::IsType( aScanTypes ) )
|
||||
|
|
Loading…
Reference in New Issue