mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fix removing of material
CURA-6600
This commit is contained in:
parent
49e8c8d9d9
commit
646222f2ac
5 changed files with 11 additions and 11 deletions
|
|
@ -55,7 +55,8 @@ class MaterialBrandsModel(BaseMaterialsModel):
|
|||
|
||||
# Now handle the individual materials
|
||||
item = self._createMaterialItem(root_material_id, container_node)
|
||||
brand_group_dict[brand][material_type].append(item)
|
||||
if item:
|
||||
brand_group_dict[brand][material_type].append(item)
|
||||
|
||||
# Part 2: Organize the tree into models
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue