mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:59:00 +08:00
Use userChanges instead of getContainer(0)
CURA-4916
This commit is contained in:
parent
7f5bb70bee
commit
ab4cfa5fbb
@ -1494,5 +1494,5 @@ class MachineManager(QObject):
|
||||
@pyqtSlot(str, str, str)
|
||||
def setSettingForAllExtruders(self, setting_name: str, property_name: str, property_value: str):
|
||||
for key, extruder in self._global_container_stack.extruders.items():
|
||||
container = extruder.getContainer(0)
|
||||
container = extruder.userChanges
|
||||
container.setProperty(setting_name, property_name, property_value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user