Commit 6fcf159c authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Clear page row when another day is selected

parent aca4eb16
Pipeline #1196 failed with stage
in 3 minutes and 37 seconds
......@@ -24,7 +24,8 @@ import org.kde.phone.calindori 0.1 as Calindori
Kirigami.ApplicationWindow {
id: root
globalDrawer: Kirigami.GlobalDrawer {
id: drawer
......@@ -101,6 +102,12 @@ Kirigami.ApplicationWindow {
return localCalendar.todosCount(todosDate);
}
onSelectedDateChanged: {
if (root.pageStack.depth > 1) {
root.pageStack.pop(null);
}
}
Connections {
target: root
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment