From 0d56d7276038362130b987ade0f96dbdabc9a136 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Thu, 3 May 2018 16:14:08 +0200 Subject: [PATCH] CURA-5234 Make use of the function to add wrong containers to the set. --- cura/Machines/MaterialManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Machines/MaterialManager.py b/cura/Machines/MaterialManager.py index c3c4430b00..719795ac45 100644 --- a/cura/Machines/MaterialManager.py +++ b/cura/Machines/MaterialManager.py @@ -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()