mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:39:02 +08: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
@ -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…
x
Reference in New Issue
Block a user