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 { DialogButtonBox {
Layout.alignment: Qt.AlignRight Layout.fillWidth: true
text: qsTr("OK") standardButtons: DialogButtonBox.Ok
onClicked: close() onAccepted: close()
} }
} }