From bd786b578a4748912be371e8c63d48d893fb6add Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 15 Jan 2021 21:07:23 +0000 Subject: [PATCH] Labels on pins should be considered "wire labels". Fixes https://gitlab.com/kicad/code/kicad/issues/7120 --- eeschema/sch_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_text.cpp b/eeschema/sch_text.cpp index 7ff4e01009..427ab071e7 100644 --- a/eeschema/sch_text.cpp +++ b/eeschema/sch_text.cpp @@ -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 ) )