mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Group delet checking is more explicit
CURA-1891
This commit is contained in:
parent
f52a3c1b9d
commit
19c60ee584
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ class CuraApplication(QtApplication):
|
|||
|
||||
op.push()
|
||||
if group_node:
|
||||
if len(group_node.getChildren()) == 1:
|
||||
if len(group_node.getChildren()) == 1 and group_node.callDecoration("isGroup"):
|
||||
group_node.getChildren()[0].setParent(group_node.getParent())
|
||||
op = RemoveSceneNodeOperation(group_node)
|
||||
op.push()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue