mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
The hack assumed that the parent group would be the first deleted item of type group in the undo list. While this will be true when undoing a user ungroup command, it will not be when undoing an ungroup side-effect, such as when a member of a group is deleted during UpdateFromPCB. Fixes https://gitlab.com/kicad/code/kicad/-/issues/16384