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
{
anchors.fill: parent
text: value + " " + unit;
color: UM.Theme.getColor("setting_control_text")
verticalAlignment: Qt.AlignVCenter
text: propertyProvider.properties.value + " " + unit
renderType: Text.NativeRendering
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
verticalAlignment: Text.AlignVCenter
}
}