mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 19:28:07 -06:00
Update documentation
This commit is contained in:
parent
c9998ca6fe
commit
ed6f4d851c
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue