Labels on pins should be considered "wire labels".

Fixes https://gitlab.com/kicad/code/kicad/issues/7120
This commit is contained in:
Jeff Young 2021-01-15 21:07:23 +00:00
parent 288ecb9a02
commit bd786b578a
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) )