Remove children from view_group when de-selecting.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16139
This commit is contained in:
Jeff Young 2023-11-22 14:21:42 +00:00
parent f324b1b88d
commit 4a25ef164d
1 changed files with 3 additions and 0 deletions

View File

@ -2214,6 +2214,9 @@ void EE_SELECTION_TOOL::unhighlight( EDA_ITEM* aItem, int aMode, SELECTION* aGro
{
aChild->ClearBrightened();
}
if( aGroup )
aGroup->Remove( aChild );
} );
}