mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 13:17:51 -06: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
|
@ -28,7 +28,8 @@ class FavoriteMaterialsModel(BaseMaterialsModel):
|
|||
continue
|
||||
|
||||
item = self._createMaterialItem(root_material_id, container_node)
|
||||
item_list.append(item)
|
||||
if item:
|
||||
item_list.append(item)
|
||||
|
||||
# Sort the item list alphabetically by name
|
||||
item_list = sorted(item_list, key = lambda d: d["brand"].upper())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue