mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:45:57 +08:00
Fix typing
CURA-6283
This commit is contained in:
parent
83b9e5e53b
commit
5d58d60a16
@ -140,11 +140,11 @@ class ObjectsModel(ListModel):
|
||||
current_index += 1
|
||||
|
||||
if not node_info_dict.is_group:
|
||||
new_name = "{0}({1})".format(name, current_index)
|
||||
new_group_name = "{0}({1})".format(name, current_index)
|
||||
else:
|
||||
new_name = "{0}#{1}".format(name, current_index)
|
||||
new_group_name = "{0}#{1}".format(name, current_index)
|
||||
node_rename_list.append({"node": node,
|
||||
"new_name": new_name})
|
||||
"new_name": new_group_name})
|
||||
|
||||
for node_info in node_rename_list:
|
||||
node = node_info["node"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user