From 19c60ee5844bcf8e120f82432f89d2625773ed0c Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Wed, 20 Jul 2016 09:34:03 +0200 Subject: [PATCH] Group delet checking is more explicit CURA-1891 --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 29c1f086b4..689ef2c783 100644 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -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()