mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
CURA-4815 When creating the unique name for a machine, don't look at the
definition instance container for the id, just look at the container stack ids.
This commit is contained in:
parent
fad43be23b
commit
26371c9c3a
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
|||
def _containerExists(self, container_type, container_name):
|
||||
container_class = ContainerStack if container_type == "machine" else InstanceContainer
|
||||
|
||||
return self.findContainersMetadata(id = container_name, type = container_type, ignore_case = True) or \
|
||||
return self.findContainersMetadata(container_type = container_class, id = container_name, type = container_type, ignore_case = True) or \
|
||||
self.findContainersMetadata(container_type = container_class, name = container_name, type = container_type)
|
||||
|
||||
## Exports an profile to a file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue