summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Home.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Home.qml b/Home.qml
index 8754bc7..6c0ff5d 100644
--- a/Home.qml
+++ b/Home.qml
@@ -28,6 +28,8 @@ HomeForm {
text: qsTr("Today")
onClicked: {
contentView.push("TaskList.qml")
+ var taskList = contentView.currentItem
+ taskList.title = qsTr("Today")
drawer.close()
}
}
@@ -36,6 +38,8 @@ HomeForm {
text:qsTr("Future")
onClicked: {
contentView.push("TaskList.qml")
+ var taskList = contentView.currentItem
+ taskList.title = qsTr("Future task")
drawer.close()
}
}