mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Fix typo
CURA-1606
This commit is contained in:
parent
53661b2739
commit
b60e704aa6
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class MachineManagerModel(QObject):
|
||||||
i = 1
|
i = 1
|
||||||
|
|
||||||
#Check both the id and the name, because they may not be the same and it is better if they are both unique
|
#Check both the id and the name, because they may not be the same and it is better if they are both unique
|
||||||
while UM.Settings.ContainerRegistry.getInstance().findContainers(None, id = unique_name) or
|
while UM.Settings.ContainerRegistry.getInstance().findContainers(None, id = unique_name) or \
|
||||||
UM.Settings.ContainerRegistry.getInstance().findContainers(None, name = unique_name):
|
UM.Settings.ContainerRegistry.getInstance().findContainers(None, name = unique_name):
|
||||||
i = i + 1
|
i = i + 1
|
||||||
unique_name = "%s #%d" % (name, i)
|
unique_name = "%s #%d" % (name, i)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue