mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Don't use extruders() but extruderList
The extruders() slot has been deprecated. We need to replace it with extruderList. I'm changing them one by one and testing each time whether everything still seems to function correctly, but it's fairly safe anyway. Done during Turbo Testing and Tooling to reduce the number of warnings in our log.
This commit is contained in:
parent
833a7a3804
commit
bbf53c441f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class QualitySettingsModel(ListModel):
|
||||||
if self._selected_position == self.GLOBAL_STACK_POSITION:
|
if self._selected_position == self.GLOBAL_STACK_POSITION:
|
||||||
user_value = global_container_stack.userChanges.getProperty(definition.key, "value")
|
user_value = global_container_stack.userChanges.getProperty(definition.key, "value")
|
||||||
else:
|
else:
|
||||||
extruder_stack = global_container_stack.extruders[str(self._selected_position)]
|
extruder_stack = global_container_stack.extruderList[self._selected_position]
|
||||||
user_value = extruder_stack.userChanges.getProperty(definition.key, "value")
|
user_value = extruder_stack.userChanges.getProperty(definition.key, "value")
|
||||||
|
|
||||||
if profile_value is None and user_value is None:
|
if profile_value is None and user_value is None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue