Small refactor: Rename in UM.

part of CURA-6856
This commit is contained in:
Remco Burema 2019-11-12 08:40:50 +01:00
parent 5e255b548e
commit c3d1ab0931
No known key found for this signature in database
GPG Key ID: 215C49431D43F98C

View File

@ -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