mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-06 07:05:13 +08:00
Call the method correctly through the instance.
Contributes to CURA-1667 Profile import/export
This commit is contained in:
parent
70b2311c59
commit
92569d63e9
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user