Also ensure that extruder settings are correct when discarding unsaved changes

CURA-8584
This commit is contained in:
Jaime van Kessel 2021-11-09 15:10:09 +01:00
parent 73ca50d958
commit c1a839ccaa

View File

@ -717,6 +717,7 @@ class CuraApplication(QtApplication):
for extruder in global_stack.extruderList:
extruder.userChanges.clear()
global_stack.userChanges.clear()
self.getMachineManager().correctExtruderSettings()
# if the user decided to keep settings then the user settings should be re-calculated and validated for errors
# before slicing. To ensure that slicer uses right settings values