on xenial help sign in
Only call reset() if the indicator plugin has it
9e6c6cdDaniel d'Andrada
Panel/MenuContent.qml+2−2
@@ -98,8 +98,8 @@ Rectangle {
98 visible: content.__shown
98 visible: content.__shown
99 onVisibleChanged: {
99 onVisibleChanged: {
100 // Reset the indicator states
100 // Reset the indicator states
101− if (!visible && item) {
101+ if (!visible && item && item["reset"]) {
102− //item.reset()
102+ item.reset()
103 }
103 }
104 }
104 }
105 asynchronous: true
105 asynchronous: true