How can i delete a group without deleting his childrens?

Hi guys,

I need to delete the group without the childrens using the “del” key, so i’m guessing “deleteSelection” should be involved somehow.

Is there a simple fix for this or i should override and implement it my self?
Thanks.

Set Group.ungroupable to true and then the CommandHandler.ungroupSelection command will be able to do what you want to a selected Group.