CURA-5234 Make use of the function to add wrong containers to the set.

This commit is contained in:
Diego Prado Gesto 2018-05-03 16:14:08 +02:00
parent 80d7dc18cb
commit 0d56d72760

View file

@ -220,7 +220,7 @@ class MaterialManager(QObject):
else:
# 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"]))
self._container_registry.wrong_container_ids.append(material_metadata["id"])
self._container_registry.addWrongContainerId(material_metadata["id"])
self.materialsUpdated.emit()