Fixed profile file case-sensitivity.

CURA-1720
This commit is contained in:
Jack Ha 2016-07-07 11:04:34 +02:00
parent d3b8c7f8d5
commit 464fe11123

View File

@ -53,7 +53,7 @@ class CuraContainerRegistry(ContainerRegistry):
def _containerExists(self, container_type, container_name):
container_class = ContainerStack if container_type == "machine" else InstanceContainer
return self.findContainers(container_class, id = container_name, type = container_type) or \
return self.findContainers(container_class, id = container_name, type = container_type, ignore_case = True) or \
self.findContainers(container_class, name = container_name, type = container_type)
## Exports an profile to a file