summaryrefslogtreecommitdiffstats
path: root/views/calendar/qml/View.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/qml/View.qml')
-rw-r--r--views/calendar/qml/View.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/calendar/qml/View.qml b/views/calendar/qml/View.qml
index f49d8bff..3fc5d021 100644
--- a/views/calendar/qml/View.qml
+++ b/views/calendar/qml/View.qml
@@ -105,9 +105,11 @@ RowLayout {
105 spacing: Kube.Units.largeSpacing 105 spacing: Kube.Units.largeSpacing
106 106
107 DateSelector { 107 DateSelector {
108 id: dateSelector
108 selectedDate: root.selectedDate 109 selectedDate: root.selectedDate
109 onSelectedDateChanged: { 110 onSelectedDateChanged: {
110 root.selectedDate = selectedDate 111 root.selectedDate = getFirstDayOfWeek(dateSelector.selectedDate)
112 selectedDate = root.selectedDate
111 } 113 }
112 } 114 }
113 115