fixed indicatorVisible binding loop warning
commit6ce3e9c195b88551ee279495addcad4b11cf3760
authorNick Dedekind <nick.dedekind@canonical.com>
dateWed 1 Jul 2015, 12:08 (11 years ago)
parentf8d5c56
qml/Panel/IndicatorItem.qml+1−1
@@ -234,7 +234,7 @@ IndicatorDelegate {
234234 ]
235235 }
236236
237− onRootActionStateChanged: {
237+ rootActionState.onUpdated: {
238238 if (rootActionState == undefined) {
239239 title = "";
240240 leftLabel = "";
qml/Panel/Indicators/IndicatorBase.qml−1
@@ -43,6 +43,5 @@ Item {
4343 ModelActionRootState {
4444 id: rootAction
4545 menu: menuModel ? menuModel : null
46− onUpdated: indicatorItem.rootActionStateChanged()
4746 }
4847}