diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp index 04def6978c..a942e3d30a 100644 --- a/eeschema/sch_pin.cpp +++ b/eeschema/sch_pin.cpp @@ -286,11 +286,16 @@ void SCH_PIN::GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vectorGetType() == ELECTRICAL_PINTYPE::PT_PASSIVE + || aPin->GetType() == ELECTRICAL_PINTYPE::PT_NIC; + return m_parent == aPin->GetParent() && GetTransformedPosition() == aPin->GetTransformedPosition() && GetName() == aPin->GetName() - && ( ( GetType() == aPin->GetType() ) || ( GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE ) - || ( aPin->GetType() == ELECTRICAL_PINTYPE::PT_PASSIVE ) ); + && ( ( GetType() == aPin->GetType() ) + || isConnectableType_a || isConnectableType_b ); }