mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Keep this position a string
We've set up enough defensive coding that this kept working, but the typing checker fails on it.
This commit is contained in:
parent
2125b7130f
commit
d499c6fdfe
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ class MachineManager(QObject):
|
||||||
if self._global_container_stack is None:
|
if self._global_container_stack is None:
|
||||||
return
|
return
|
||||||
if position is None:
|
if position is None:
|
||||||
position_list = list(range(len(self._global_container_stack.extruderList)))
|
position_list = [str(position) for position in range(len(self._global_container_stack.extruderList))]
|
||||||
else:
|
else:
|
||||||
position_list = [position]
|
position_list = [position]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue