Browse Source
Remove undo-of-ungroup hack.
Remove undo-of-ungroup hack.
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/16384newinvert
6 changed files with 40 additions and 33 deletions
-
4include/undo_redo_container.h
-
13pcbnew/board_commit.cpp
-
11pcbnew/generators/pcb_tuning_pattern.cpp
-
3pcbnew/netlist_reader/board_netlist_updater.cpp
-
12pcbnew/tools/group_tool.cpp
-
30pcbnew/undo_redo.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue