mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:18:58 +08:00
Update documentation
This commit is contained in:
parent
c9998ca6fe
commit
ed6f4d851c
@ -235,7 +235,7 @@ class ContainerManager(QObject):
|
||||
|
||||
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
|
||||
# and all containers that share the same base_file (if any). The latter only
|
||||
|
@ -166,6 +166,8 @@ TabView
|
||||
|
||||
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)
|
||||
base.setMetaDataEntry("properties/diameter", properties.diameter, value)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user