From 92569d63e93bbeb06a813a345ebf54b87b3a053c Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Wed, 15 Jun 2016 13:40:41 +0200 Subject: [PATCH] Call the method correctly through the instance. Contributes to CURA-1667 Profile import/export --- cura/MachineManagerModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/MachineManagerModel.py b/cura/MachineManagerModel.py index e5b4cf1583..275ede0518 100644 --- a/cura/MachineManagerModel.py +++ b/cura/MachineManagerModel.py @@ -171,7 +171,7 @@ class MachineManagerModel(QObject): # \param fallback_name \type{string} Name to use when (stripped) new_name is empty # \return \type{string} Name that is unique for the specified type and name/id def _createUniqueName(self, container_type, current_name, new_name, fallback_name): - return UM.Settings.ContainerRegistry.createUniqueName(container_type, current_name, new_name, fallback_name) + return UM.Settings.ContainerRegistry.getInstance().createUniqueName(container_type, current_name, new_name, fallback_name) ## Convenience function to check if a stack has errors. def _checkStackForErrors(self, stack):