mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
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:
parent
cffeff0299
commit
ba1f915633
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue