Commit d392dd6e authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

allow navigating back to the mainpage

this was not possible in the original implementation but we can now
easily allow this thanks to the pagestack, which will take care that the
page order is still reasonable

BUG: 453989
parent 14a2d301
Pipeline #179754 passed with stage
in 3 minutes and 19 seconds
......@@ -20,14 +20,7 @@ Kirigami.Page {
text: i18nc("@action", "Report Bug")
// TODO: could give context on why the button is disabled when canReport is false
tooltip: i18nc("@info:tooltip", "Starts the bug report assistant.")
onTriggered: {
// appWindow.header.backButtonEnabled = false
appWindow.controlsVisible = false
onTriggered: pageStack.push("qrc:/ui/WelcomePage.qml")
contextualActions: [
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment