Commit 5f8644a8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Add cancel button on the proceed dialog

BUG: 387933
parent 06e38576
......@@ -135,8 +135,9 @@ Kirigami.ApplicationWindow
Layout.fillWidth: true
wrapMode: Text.WordWrap
}
Button {
RowLayout {
Layout.alignment: Qt.AlignRight
Button {
iconName: "dialog-ok"
onClicked: {
transaction.proceed()
......@@ -144,6 +145,16 @@ Kirigami.ApplicationWindow
sheet.close()
}
}
Button {
Layout.alignment: Qt.AlignRight
iconName: "dialog-cancel"
onClicked: {
transaction.cancel()
sheet.acted = true
sheet.close()
}
}
}
}
onSheetOpenChanged: if(!sheetOpen) {
sheet.destroy(1000)
......
Markdown is supported
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