summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-11 22:26:49 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-12 10:07:59 +0200
commiteb72fac3ffa17bdc17ffe93b13a0fe2d4be41614 (patch)
tree1eb0062ab3cd7a0f60c96de08d77d1e35ad184cd /views
parent098c4f746179eedea7fc159686f770b0d6e95964 (diff)
downloadkube-eb72fac3ffa17bdc17ffe93b13a0fe2d4be41614.tar.gz
kube-eb72fac3ffa17bdc17ffe93b13a0fe2d4be41614.zip
Synchronize events when selecting the calendar
Diffstat (limited to 'views')
-rw-r--r--views/calendar/qml/View.qml6
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
19import QtQuick 2.9 19import QtQuick 2.9
20import QtQuick.Controls 1.3 as Controls1 20import QtQuick.Controls 2.1
21import QtQuick.Layouts 1.2 21import QtQuick.Layouts 1.2
22 22
23import org.kube.framework 1.0 as Kube 23import 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