Add the correct value to the setting viewer when the type is unknown.

Contributes to CURA-4495
This commit is contained in:
Diego Prado Gesto 2018-03-20 11:42:42 +01:00
parent 19792fc1a6
commit cd9531b746

View file

@ -11,9 +11,10 @@ SettingItem
contents: Label contents: Label
{ {
anchors.fill: parent anchors.fill: parent
text: value + " " + unit; text: propertyProvider.properties.value + " " + unit
color: UM.Theme.getColor("setting_control_text") renderType: Text.NativeRendering
font: UM.Theme.getFont("default")
verticalAlignment: Qt.AlignVCenter color: UM.Theme.getColor("text")
verticalAlignment: Text.AlignVCenter
} }
} }