mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fix removeMaterial.
The base_file must be removed first, or it gets loaded halfway during remove containers. Contributes to issue CURA-4243.
This commit is contained in:
parent
7d24933835
commit
eb171231c2
3 changed files with 10 additions and 2 deletions
|
@ -32,5 +32,6 @@ class MaterialsModel(InstanceContainersModel):
|
|||
result.append(item["metadata"]["material"])
|
||||
result.append(item["metadata"]["name"])
|
||||
result.append(item["metadata"]["color_name"])
|
||||
result.append(item["metadata"]["id"])
|
||||
result.extend(super()._sortKey(item))
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue