diff options
-rw-r--r-- | contents/ui/main.qml | 8 |
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 { |