summaryrefslogtreecommitdiff
path: root/Home.qml
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-22 12:04:24 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-22 12:04:24 +0800
commit948d4be1e23487b2ee53f914c91101a1bd09d6b0 (patch)
tree99dfaaa4372fe126e1c216cb2ed4e5a339c809ea /Home.qml
parent86ed329c306bb53681e22cdd3afc8f180293377a (diff)
Task list page title is set when the page changes
Diffstat (limited to 'Home.qml')
-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()
}
}