From cd9531b74682b6989c11b7c043a15a87438b83c0 Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Tue, 20 Mar 2018 11:42:42 +0100 Subject: [PATCH] Add the correct value to the setting viewer when the type is unknown. Contributes to CURA-4495 --- resources/qml/Settings/SettingUnknown.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/qml/Settings/SettingUnknown.qml b/resources/qml/Settings/SettingUnknown.qml index 704964eda2..8eeb2fb6a0 100644 --- a/resources/qml/Settings/SettingUnknown.qml +++ b/resources/qml/Settings/SettingUnknown.qml @@ -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 } }