Skip to content

Commit

Permalink
uniqueName() should return the actual original name if it is available
Browse files Browse the repository at this point in the history
CURA-3929
  • Loading branch information
LipuFei committed Jun 13, 2017
1 parent 09f7ed2 commit c91230e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UM/Settings/ContainerRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def uniqueName(self, original: str) -> str:
if not name: #Wait, that deleted everything!
name = "Profile"
elif not self.findContainers(id = name, ignore_case = True) and not self.findContainers(name = name):
return original.strip()
return name

unique_name = name
i = 1
Expand Down

0 comments on commit c91230e

Please sign in to comment.