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

@ -1066,12 +1066,12 @@ class CuraApplication(QtApplication):
for node in nodes:
op.addOperation(RemoveSceneNodeOperation(node))
# Reset the print information
self.getController().getScene().sceneChanged.emit(node)
op.push()
Selection.clear()
# Reset the print information:
self.getController().getScene().sceneChanged.emit(node)
## Reset all translation on nodes with mesh data.
@pyqtSlot()
def resetAllTranslation(self):