diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-24 23:42:55 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-09-24 23:42:55 +0700 |
commit | da303a3c4d82b758b0e9aba0bf49b8efc3e4843e (patch) | |
tree | 4c74c5e57ea171dac87ce88a06911e52b690a382 | |
parent | 35fe3c15f3b8a562d866f40389a5a8124501636a (diff) |
fixed `TaskList` and `TaskDetail` `onClicked`
-rw-r--r-- | TaskDetails.qml | 10 | ||||
-rw-r--r-- | TaskList.qml | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/TaskDetails.qml b/TaskDetails.qml index 190dfae..94162f6 100644 --- a/TaskDetails.qml +++ b/TaskDetails.qml @@ -1,5 +1,15 @@ import QtQuick 2.12 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 +import QtQuick.Layouts 1.12 import "larva/features" TaskDetailForm { + backButton.onClicked: pageView.pop() } + +/*##^## +Designer { + D{i:0;autoSize:true;height:480;width:640} +} +##^##*/ diff --git a/TaskList.qml b/TaskList.qml index ab92327..b79720d 100644 --- a/TaskList.qml +++ b/TaskList.qml @@ -9,7 +9,7 @@ TaskListForm { width: parent.width height: task.height taskTitle.text: subject - itemDelegate.onClicked: contentView.push("TaskDetails.qml") + itemDelegate.onClicked: pageView.push("TaskDetails.qml") } } } |