Skip to content

[Bug] Disbanding a group cannot be undone #249

Description

@letsfindaway

Steps to reproduce:

  • Create a group of items.
  • Disband the group by pressing the button in the group delegate frame. The group is removed and the individual items are selected.
  • Then press "Undo". The group is not re-created.

Short analysis

Destroying a group using the delegate button calls destroy() on the container item. This first removes all the items from the group, making them individual items again. Then it calls remove() at the UBGraphicsItemDelegate. This removes the container item from the scene and creates an undo command, which adds the group item again, but does not care about the items previously in the group.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.8.0bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions