From 8a5d409456fa2505c0d78509e3ef5a2a5b517ec3 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 20 Aug 2018 10:43:45 +0200 Subject: Click the current date to go back to the current date. --- views/calendar/qml/View.qml | 4 ++++ 1 file changed, 4 insertions(+) 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 { right: parent.right } date: root.currentDate + MouseArea { + anchors.fill: parent + onClicked: dateSelector.selectedDate = root.currentDate + } } } -- cgit v1.2.3