diff --git a/resources/qml/Preferences/MaterialView.qml b/resources/qml/Preferences/MaterialView.qml index e5319e280a..5016768502 100644 --- a/resources/qml/Preferences/MaterialView.qml +++ b/resources/qml/Preferences/MaterialView.qml @@ -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 } }