on xenial help sign in
simplify check for the running prop
commita3ed1faa66b1d92820ffc28a3fd35a60cda89fda authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 17 Sep 2015, 15:44 (11 years ago) parentda86b26
1 file changed+1−1
qml/Panel/Indicators/MenuItemFactory.qml+1−1
qml/Panel/Indicators/MenuItemFactory.qml+1−1
@@ -474,7 +474,7 @@ Item {
474474 readonly property var tz: getExtendedProperty(extendedData, "xCanonicalTimezone", "UTC")
475475 property var updateTimer: Timer {
476476 repeat: true
477− running: identifier == "indicator-datetime" && tzMenuItem.visible // only run when we're open
477+ running: tzMenuItem.visible // only run when we're open
478478 onTriggered: tzMenuItem.time = Utils.TimezoneFormatter.currentTimeInTimezone(tzMenuItem.tz)
479479 onRunningChanged: {
480480 print("LIVE TIMER RUNNING:", running)