mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Small refactor: Rename in UM.
part of CURA-6856
This commit is contained in:
parent
5e255b548e
commit
c3d1ab0931
@ -721,7 +721,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||||||
|
|
||||||
if is_new_material:
|
if is_new_material:
|
||||||
if ContainerRegistry.getInstance().isReadOnly(self.getId()):
|
if ContainerRegistry.getInstance().isReadOnly(self.getId()):
|
||||||
ContainerRegistry.getInstance().setReadOnlyExplicitly(new_hotend_material.getId())
|
ContainerRegistry.getInstance().setExplicitReadOnly(new_hotend_material.getId())
|
||||||
containers_to_add.append(new_hotend_material)
|
containers_to_add.append(new_hotend_material)
|
||||||
|
|
||||||
# there is only one ID for a machine. Once we have reached here, it means we have already found
|
# there is only one ID for a machine. Once we have reached here, it means we have already found
|
||||||
|
Loading…
x
Reference in New Issue
Block a user