Update documentation

This commit is contained in:
fieldOfView 2017-05-30 15:45:05 +02:00 committed by Ghostkeeper
parent c9998ca6fe
commit ed6f4d851c
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75
2 changed files with 3 additions and 1 deletions

View file

@ -235,7 +235,7 @@ class ContainerManager(QObject):
return True return True
## Set a metadata entry of the specified container. ## Set a setting property value of the specified container.
# #
# This will set the specified property of the specified setting of the container # This will set the specified property of the specified setting of the container
# and all containers that share the same base_file (if any). The latter only # and all containers that share the same base_file (if any). The latter only

View file

@ -166,6 +166,8 @@ TabView
onEditingFinished: onEditingFinished:
{ {
// This does not use a SettingPropertyProvider, because we need to make the change to all containers
// which derive from the same base_file
Cura.ContainerManager.setContainerProperty(base.containerId, "material_diameter", "value", value) Cura.ContainerManager.setContainerProperty(base.containerId, "material_diameter", "value", value)
base.setMetaDataEntry("properties/diameter", properties.diameter, value) base.setMetaDataEntry("properties/diameter", properties.diameter, value)
} }