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

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()
}
}