Commit 9a2c3c20 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

(cherry picked from commit d392dd6e)
parent ddfc1f23
Pipeline #179755 passed with stage
in 3 minutes and 27 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