mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
small code fixes
This commit is contained in:
parent
21ea99d9f2
commit
ab8bcc4ae3
1 changed files with 6 additions and 7 deletions
|
@ -114,8 +114,7 @@ class ProfilesModel(InstanceContainersModel):
|
|||
quality_type = profile[0].getMetaDataEntry("quality_type") if profile else ""
|
||||
|
||||
if quality_type not in tmp_all_quality_items:
|
||||
tmp_all_quality_items[quality_type] = {"suitable_container": None,
|
||||
"all_containers": []}
|
||||
tmp_all_quality_items[quality_type] = {"suitable_container": None, "all_containers": []}
|
||||
|
||||
tmp_all_quality_items[quality_type]["all_containers"].append(item)
|
||||
if tmp_all_quality_items[quality_type]["suitable_container"] is None and profile[0] in qualities:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue