on xenial help sign in
Fix indicator text binding loop
commit75645e193adcf57d3d938114aa46ecbaef9c8cc1 authorJan Sprinz <neo@neothethird.de> dateThu 5 Sep 2019, 19:35 (7 years ago) parent93f04f8
1 file changed+2−2
qml/Panel/Indicators/IndicatorItem.qml+2−2
qml/Panel/Indicators/IndicatorItem.qml+2−2
@@ -23,7 +23,7 @@ IndicatorDelegate {
2323 id: root
2424
2525 property string identifier
26− property string title: indicatorName.text
26+ property alias title: indicatorName.text
2727 property alias leftLabel: leftLabelItem.text
2828 property alias rightLabel: rightLabelItem.text
2929 property var icons: undefined
@@ -146,7 +146,7 @@ IndicatorDelegate {
146146 anchors.horizontalCenter: parent.horizontalCenter
147147 width: contentWidth > 0 ? contentWidth + units.gu(1) : 0
148148
149− text: title !== "" ? title : identifier
149+ text: identifier
150150 fontSize: "x-small"
151151 font.weight: Font.Light
152152 horizontalAlignment: Text.AlignHCenter