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.
This commit is contained in:
Ian Paschal 2018-01-16 16:30:10 +01:00
parent cffeff0299
commit ba1f915633

View File

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