summaryrefslogtreecommitdiff
path: root/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui/main.qml')
-rw-r--r--contents/ui/main.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml
index 9e330cc..1fc6779 100644
--- a/contents/ui/main.qml
+++ b/contents/ui/main.qml
@@ -101,11 +101,13 @@ Item {
}
}
+ Component.onCompleted: syncCanvas()
+
Timer {
interval: plasmoid.configuration.refreshInterval * 60 * 1000
- running: true;
- repeat: true;
- onTriggered: syncCanvas();
+ running: true
+ repeat: true
+ onTriggered: syncCanvas()
}
ColumnLayout {