Qml/main: open mod details page when card is clicked

This commit is contained in:
Toast 2025-06-05 00:35:31 +02:00
parent 2ad0e0597c
commit b3b1c7b4c6

View file

@ -25,6 +25,9 @@ Kirigami.ApplicationWindow {
component ModCardDelegate: Kirigami.AbstractCard {
required property QMod mod
showClickFeedback: true
onClicked: pageStack.pushDialogLayer(Qt.resolvedUrl("ModPage.qml"), {mod: mod})
// headerOrientation: Qt.Horizontal
contentItem: Item {
implicitHeight: modCardLayout.implicitHeight