diff options
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r-- | views/calendar/qml/View.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index c46b9480..5efda663 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -17,7 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | import QtQuick 2.9 | 19 | import QtQuick 2.9 |
20 | import QtQuick.Controls 1.3 as Controls1 | 20 | import QtQuick.Controls 2.1 |
21 | import QtQuick.Layouts 1.2 | 21 | import QtQuick.Layouts 1.2 |
22 | 22 | ||
23 | import org.kube.framework 1.0 as Kube | 23 | import org.kube.framework 1.0 as Kube |
@@ -31,6 +31,10 @@ RowLayout { | |||
31 | 31 | ||
32 | anchors.fill: parent | 32 | anchors.fill: parent |
33 | 33 | ||
34 | StackView.onActivated: { | ||
35 | Kube.Fabric.postMessage(Kube.Messages.synchronize, {"type": "event"}) | ||
36 | } | ||
37 | |||
34 | Rectangle { | 38 | Rectangle { |
35 | width: Kube.Units.gridUnit * 10 | 39 | width: Kube.Units.gridUnit * 10 |
36 | Layout.fillHeight: parent.height | 40 | Layout.fillHeight: parent.height |