mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 21:31:15 -07:00
CURA-5234 Make use of the function to add wrong containers to the set.
This commit is contained in:
parent
80d7dc18cb
commit
0d56d72760
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ class MaterialManager(QObject):
|
||||||
else:
|
else:
|
||||||
# Add this container id to the wrong containers list in the registry
|
# Add this container id to the wrong containers list in the registry
|
||||||
Logger.log("w", "Not adding {id} to the material manager because the variant does not exist.".format(id = material_metadata["id"]))
|
Logger.log("w", "Not adding {id} to the material manager because the variant does not exist.".format(id = material_metadata["id"]))
|
||||||
self._container_registry.wrong_container_ids.append(material_metadata["id"])
|
self._container_registry.addWrongContainerId(material_metadata["id"])
|
||||||
|
|
||||||
self.materialsUpdated.emit()
|
self.materialsUpdated.emit()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue