mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Set correct machine name when creating a new machine from a project
CURA-4074
This commit is contained in:
parent
2aa8e590bf
commit
686ca803ee
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
stack.setMetaDataEntry("machine", global_stack_id_new)
|
stack.setMetaDataEntry("machine", global_stack_id_new)
|
||||||
|
|
||||||
# Only machines need a new name, stacks may be non-unique
|
# Only machines need a new name, stacks may be non-unique
|
||||||
stack.setName(self._container_registry.uniqueName(stack.getName()))
|
stack.setName(global_stack_id_new)
|
||||||
|
|
||||||
container_stacks_added.append(stack)
|
container_stacks_added.append(stack)
|
||||||
self._container_registry.addContainer(stack)
|
self._container_registry.addContainer(stack)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue