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

Add cancel button on the proceed dialog

BUG: 387933
parent 06e38576
......@@ -135,13 +135,24 @@ Kirigami.ApplicationWindow
Layout.fillWidth: true
wrapMode: Text.WordWrap
}
Button {
RowLayout {
Layout.alignment: Qt.AlignRight
iconName: "dialog-ok"
onClicked: {
transaction.proceed()
sheet.acted = true
sheet.close()
Button {
iconName: "dialog-ok"
onClicked: {
transaction.proceed()
sheet.acted = true
sheet.close()
}
}
Button {
Layout.alignment: Qt.AlignRight
iconName: "dialog-cancel"
onClicked: {
transaction.cancel()
sheet.acted = true
sheet.close()
}
}
}
}
......
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