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

allow saving the report in case of error

if the error isn't transient this allows the user to at least store the
report and manually report it after fixing whatever was wrong

BUG: 456768
parent 74cb2971
......@@ -38,6 +38,16 @@ Kirigami.Page {
}
}
contextualActions: [
Kirigami.Action {
visible: page.state === "error"
iconName: "document-save"
text: i18nc("@action:button", "Save Report to File")
tooltip: xi18nc("@info:tooltip", 'Use this button to save the crash information to a file for manual reporting.')
onTriggered: DrKonqi.saveReport(reportInterface.generateReportFullText(ReportInterface.DrKonqiStamp.Include, ReportInterface.Backtrace.Complete))
}
]
ColumnLayout {
anchors.fill: parent
visible: page.state === "error"
......
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