summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 23:41:07 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-29 23:41:07 +0800
commitef5fe6bf814fbd745ef67796dbf123ac99d462c8 (patch)
treee25fdb98b15fe024a19f4ec8157295ed45195f03
parent75de73c016abbf9847a65702eeb676d607973598 (diff)
Pass the ticket subject access to TaskDetails
-rw-r--r--TaskDetails.qml1
-rw-r--r--TaskList.qml3
2 files changed, 3 insertions, 1 deletions
diff --git a/TaskDetails.qml b/TaskDetails.qml
index 577f908..6470b50 100644
--- a/TaskDetails.qml
+++ b/TaskDetails.qml
@@ -5,6 +5,7 @@ import QtQuick.Layouts 1.12
import "larva/features"
TaskDetailForm {
+ property string subject
backButton.onClicked: pageView.pop()
StackView {
diff --git a/TaskList.qml b/TaskList.qml
index 15753bd..55a59ae 100644
--- a/TaskList.qml
+++ b/TaskList.qml
@@ -11,7 +11,8 @@ TaskListForm {
taskTitle.text: subject
itemDelegate.onClicked: {
window.ticketHistory(id)
- pageView.push("TaskDetails.qml")
+ pageView.push("TaskDetails.qml"
+ , {"subject": subject})
}
}
}