mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 18:36:05 +08:00
Fix bug in displaying extruders
CURA-9278
This commit is contained in:
parent
8d9e9a9dbf
commit
99136fd209
@ -77,9 +77,9 @@ class CompatibleMachineModel(ListModel):
|
||||
"hexcolor": extruder.material.color
|
||||
})
|
||||
|
||||
if all([len(extruder["materials"]) > 0 for extruder in extruder_configs.values()]):
|
||||
if any([len(extruder["materials"]) > 0 for extruder in extruder_configs.values()]):
|
||||
self.appendItem({
|
||||
"name": printer.name,
|
||||
"unique_id": printer.name, # <- Can assume the cloud doesn't have duplicate names?
|
||||
"extruders": extruder_configs.values()
|
||||
"extruders": list(extruder_configs.values())
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user