Don't deselect wires when aligning
This makes undo/redo look really strange as the other elements get aligned but the wires do not (or rather their unconnected ends do not) Fixes https://gitlab.com/kicad/code/kicad/issues/9275
This commit is contained in:
parent
c4a6a61743
commit
85ab4e5886
|
@ -834,6 +834,7 @@ int SCH_MOVE_TOOL::AlignElements( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
EDA_ITEMS drag_items{ item };
|
||||
line->ClearFlags();
|
||||
line->SetFlags( SELECTED );
|
||||
line->SetFlags( flags[ii] );
|
||||
getConnectedDragItems( line, pts[ii], drag_items );
|
||||
std::set<EDA_ITEM*> unique_items( drag_items.begin(), drag_items.end() );
|
||||
|
|
Loading…
Reference in New Issue