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