Use standard buttons for OK button

This commit is contained in:
Loren Burkholder 2021-06-15 12:32:00 -04:00
parent db8af24bea
commit 182de32380
1 changed files with 4 additions and 4 deletions

View File

@ -280,10 +280,10 @@ ApplicationWindow {
}
Button {
Layout.alignment: Qt.AlignRight
text: qsTr("OK")
onClicked: close()
DialogButtonBox {
Layout.fillWidth: true
standardButtons: DialogButtonBox.Ok
onAccepted: close()
}
}