From ba1f915633a0ac455cd36981d9f710d3966ee9fa Mon Sep 17 00:00:00 2001 From: Ian Paschal Date: Tue, 16 Jan 2018 16:30:10 +0100 Subject: [PATCH] Fix for CURA-4789 `deleteAll()` within `CuraApplication.py` now resets the print information by calling its `setToZeroPrintInformation()` method, rather than by reinstatiating the `PrintInformation` class. --- cura/CuraApplication.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 37952a42ac..3c5eca2f21 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1061,6 +1061,9 @@ class CuraApplication(QtApplication): op.push() Selection.clear() + # Reset the print information: + self._print_information.setToZeroPrintInformation(self.getBuildPlateModel().activeBuildPlate) + # stay on the same build plate #self.getCuraSceneController().setActiveBuildPlate(0) # Select first build plate