Fixes for resetting print time information when removing all or last model, reduce signals being used for print time resetting - CURA-4852

This commit is contained in:
ChrisTerBeke 2018-01-23 09:49:26 +01:00
parent 3fb9877a30
commit 6c9d7b5a2e
3 changed files with 30 additions and 11 deletions

View file

@ -94,6 +94,10 @@ class CuraActions(QObject):
removed_group_nodes.append(group_node)
op.addOperation(SetParentOperation(remaining_nodes_in_group[0], group_node.getParent()))
op.addOperation(RemoveSceneNodeOperation(group_node))
# Reset the print information
Application.getInstance().getController().getScene().sceneChanged.emit(node)
op.push()
## Set the extruder that should be used to print the selection.