From 31f97e0f61a2e435dba546f5d67b33e16c5f2829 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 8 Jul 2016 13:33:09 +0200 Subject: [PATCH] Another set of fixes due to merge issues --- cura/Settings/MachineManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 89703ace6c..8c13458679 100644 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -417,7 +417,7 @@ class MachineManager(QObject): if containers: new_name = self._createUniqueName("quality", "", containers[0].getName(), catalog.i18nc("@label", "Custom profile")) - new_container = InstanceContainer("") + new_container = UM.Settings.InstanceContainer("") ## Copy all values new_container.deserialize(containers[0].serialize()) @@ -444,7 +444,7 @@ class MachineManager(QObject): # As we also want the id of the container to be changed (so that profile name is the name of the file # on disk. We need to create a new instance and remove it (so the old file of the container is removed) # If we don't do that, we might get duplicates & other weird issues. - new_container = InstanceContainer("") + new_container = UM.Settings.InstanceContainer("") new_container.deserialize(containers[0].serialize()) # Actually set the name