diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index 505c6754..2ceb6141 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -27,14 +27,14 @@ RowLayout { | |||
27 | id: root | 27 | id: root |
28 | 28 | ||
29 | property date currentDate: new Date() | 29 | property date currentDate: new Date() |
30 | property bool autoUpdateDate: true | ||
30 | 31 | ||
31 | Timer { | 32 | Timer { |
32 | interval: 2000; running: true; repeat: true | 33 | running: autoUpdateDate |
34 | interval: 2000; repeat: true | ||
33 | onTriggered: root.currentDate = new Date() | 35 | onTriggered: root.currentDate = new Date() |
34 | } | 36 | } |
35 | 37 | ||
36 | anchors.fill: parent | ||
37 | |||
38 | StackView.onActivated: { | 38 | StackView.onActivated: { |
39 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "event"}) | 39 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "event"}) |
40 | } | 40 | } |