Show mod details page in same window
This commit is contained in:
parent
a757e31cee
commit
79ef083231
2 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ Kirigami.ApplicationWindow {
|
||||||
|
|
||||||
title: "Leek"
|
title: "Leek"
|
||||||
|
|
||||||
|
pageStack.columnView.columnResizeMode: Kirigami.ColumnView.SingleColumn
|
||||||
pageStack.initialPage: Kirigami.ScrollablePage {
|
pageStack.initialPage: Kirigami.ScrollablePage {
|
||||||
title: "Mods"
|
title: "Mods"
|
||||||
|
|
||||||
|
|
@ -26,7 +27,7 @@ Kirigami.ApplicationWindow {
|
||||||
required property QMod mod
|
required property QMod mod
|
||||||
|
|
||||||
showClickFeedback: true
|
showClickFeedback: true
|
||||||
onClicked: pageStack.pushDialogLayer(Qt.resolvedUrl("ModPage.qml"), {mod: mod})
|
onClicked: pageStack.push(Qt.resolvedUrl("ModPage.qml"), {mod: mod})
|
||||||
|
|
||||||
// headerOrientation: Qt.Horizontal
|
// headerOrientation: Qt.Horizontal
|
||||||
contentItem: Item {
|
contentItem: Item {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,11 @@ Kirigami.Page {
|
||||||
|
|
||||||
title: "Local mod"
|
title: "Local mod"
|
||||||
|
|
||||||
|
onBackRequested: (event) => {
|
||||||
|
event.accepted = true
|
||||||
|
applicationWindow().pageStack.pop()
|
||||||
|
}
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue