Eeschema: Adds wire when dragging directly connected labels
CHANGED: KiCAD allows connecting components directly together in schematics. If the user drags one of the components, KiCAD adds a wire to keep the conection intact. It should do the same for net and global labels but it doesn't. This MR adds net and global labels to the list of items that can connect to other items. Fixes https://gitlab.com/kicad/code/kicad/issues/7713
This commit is contained in:
parent
283d176cdc
commit
d8089ed54a
|
@ -626,7 +626,10 @@ public:
|
|||
return ( aItem->Type() == SCH_LINE_T && aItem->GetLayer() == LAYER_WIRE ) ||
|
||||
( aItem->Type() == SCH_NO_CONNECT_T ) ||
|
||||
( aItem->Type() == SCH_JUNCTION_T ) ||
|
||||
( aItem->Type() == SCH_COMPONENT_T ) ;
|
||||
( aItem->Type() == SCH_COMPONENT_T ) ||
|
||||
( aItem->Type() == SCH_LABEL_T ) ||
|
||||
( aItem->Type() == SCH_HIER_LABEL_T ) ||
|
||||
( aItem->Type() == SCH_GLOBAL_LABEL_T );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue