Group delet checking is more explicit

CURA-1891
This commit is contained in:
Jaime van Kessel 2016-07-20 09:34:03 +02:00
parent f52a3c1b9d
commit 19c60ee584

View file

@ -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()