mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 12:17:50 -06:00
Fix crash when adding first quality changes profile
This dictionary is keyed by position integers, not position strings. Contributes to issue CURA-6600.
This commit is contained in:
parent
a313255bc7
commit
f8d72b2ea7
1 changed files with 1 additions and 1 deletions
|
@ -1169,7 +1169,7 @@ class MachineManager(QObject):
|
|||
for position, extruder in self._global_container_stack.extruders.items():
|
||||
quality_node = None
|
||||
if quality_group is not None:
|
||||
quality_node = quality_group.nodes_for_extruders.get(position)
|
||||
quality_node = quality_group.nodes_for_extruders.get(int(position))
|
||||
|
||||
quality_changes_container = empty_quality_changes_container
|
||||
quality_container = empty_quality_container
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue