mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Small refactor: Rename in UM.
part of CURA-6856
This commit is contained in:
parent
5e255b548e
commit
c3d1ab0931
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||
|
||||
if is_new_material:
|
||||
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)
|
||||
|
||||
# there is only one ID for a machine. Once we have reached here, it means we have already found
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue