Allow junctions to connect to labels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15496
This commit is contained in:
parent
25967b4a0f
commit
468da441e5
|
@ -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…
Reference in New Issue