diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 10:43:45 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-08-20 10:43:45 +0200 |
commit | 8a5d409456fa2505c0d78509e3ef5a2a5b517ec3 (patch) | |
tree | b450cd20728649e0047b6cc4fc9967b67c551f13 | |
parent | 9c8c1c5ec412644be792253088ed22f38132d8ad (diff) | |
download | kube-8a5d409456fa2505c0d78509e3ef5a2a5b517ec3.tar.gz kube-8a5d409456fa2505c0d78509e3ef5a2a5b517ec3.zip |
Click the current date to go back to the current date.
-rw-r--r-- | views/calendar/qml/View.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml index e49894ca..fe88b084 100644 --- a/views/calendar/qml/View.qml +++ b/views/calendar/qml/View.qml | |||
@@ -97,6 +97,10 @@ RowLayout { | |||
97 | right: parent.right | 97 | right: parent.right |
98 | } | 98 | } |
99 | date: root.currentDate | 99 | date: root.currentDate |
100 | MouseArea { | ||
101 | anchors.fill: parent | ||
102 | onClicked: dateSelector.selectedDate = root.currentDate | ||
103 | } | ||
100 | } | 104 | } |
101 | } | 105 | } |
102 | 106 | ||