diff options
-rw-r--r-- | TaskDetails.qml | 1 | ||||
-rw-r--r-- | TaskList.qml | 3 |
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}) } } } |