From 2cd98910005ab0d696e42f93485f6e204fded452 Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Mon, 19 Feb 2018 21:00:49 +0100 Subject: [PATCH] WIP: Fix material QVariant type --- cura/Settings/ContainerManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Settings/ContainerManager.py b/cura/Settings/ContainerManager.py index 759c5d5be7..d16bdca8a7 100644 --- a/cura/Settings/ContainerManager.py +++ b/cura/Settings/ContainerManager.py @@ -161,7 +161,7 @@ class ContainerManager(QObject): return container.getProperty(setting_key, property_name) ## Set the name of the specified material. - @pyqtSlot(QObject, str) + @pyqtSlot("QVariant", str) def setMaterialName(self, material_node, new_name): root_material_id = material_node.metadata["base_file"] if self._container_registry.isReadOnly(root_material_id):