mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
CURA-4947 The value of the diameter and density were not correctly
stored in the properties dict.
This commit is contained in:
parent
7493fae667
commit
9053282e8a
1 changed files with 4 additions and 1 deletions
|
@ -407,7 +407,10 @@ TabView
|
|||
if (old_value != new_value) {
|
||||
Cura.ContainerManager.setContainerMetaDataEntry(base.containerId, entry_name, new_value)
|
||||
// make sure the UI properties are updated as well since we don't re-fetch the entire model here
|
||||
properties[entry_name] = new_value
|
||||
// When the entry_name is something like properties/diameter, we take the last part of the entry_name
|
||||
var list = entry_name.split("/")
|
||||
var key = list[list.length - 1]
|
||||
properties[key] = new_value
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue