Use extruderList rather than extruders dictionary

The extruders dictionary has been deprecated.

Done during Turbo Testing and Tooling to reduce the amount of warnings in our log.
This commit is contained in:
Ghostkeeper 2020-05-15 16:07:19 +02:00
parent 17762cb431
commit acc8e24cb4
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -1214,7 +1214,7 @@ class MachineManager(QObject):
if self._global_container_stack is None:
return
if position is None:
position_list = list(self._global_container_stack.extruders.keys())
position_list = list(range(len(self._global_container_stack.extruderList)))
else:
position_list = [position]