Browse Source

Allow junctions to connect to labels.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15496
newinvert
Jeff Young 2 years ago
parent
commit
468da441e5
  1. 6
      eeschema/sch_junction.h

6
eeschema/sch_junction.h

@ -89,7 +89,11 @@ public:
bool CanConnect( const SCH_ITEM* aItem ) const override
{
return aItem->IsConnectable() && ( aItem->Type() == SCH_LINE_T
|| aItem->Type() == SCH_SYMBOL_T );
|| aItem->Type() == SCH_SYMBOL_T
|| aItem->Type() == SCH_LABEL_T
|| aItem->Type() == SCH_GLOBAL_LABEL_T
|| aItem->Type() == SCH_HIER_LABEL_T
|| aItem->Type() == SCH_DIRECTIVE_LABEL_T );
}
wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider ) const override

Loading…
Cancel
Save