Remove children from view_group when de-selecting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16139
(cherry picked from commit 4a25ef164d
)
This commit is contained in:
parent
5f8a0b0728
commit
789a695737
|
@ -1956,6 +1956,10 @@ void EE_SELECTION_TOOL::unhighlight( EDA_ITEM* aItem, int aMode, SELECTION* aGro
|
|||
aChild->ClearSelected();
|
||||
else if( aMode == BRIGHTENED )
|
||||
aChild->ClearBrightened();
|
||||
}
|
||||
|
||||
if( aGroup )
|
||||
aGroup->Remove( aChild );
|
||||
} );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue