Use standard buttons for OK button
This commit is contained in:
parent
db8af24bea
commit
182de32380
1 changed files with 4 additions and 4 deletions
|
|
@ -280,10 +280,10 @@ ApplicationWindow {
|
|||
|
||||
}
|
||||
|
||||
Button {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: qsTr("OK")
|
||||
onClicked: close()
|
||||
DialogButtonBox {
|
||||
Layout.fillWidth: true
|
||||
standardButtons: DialogButtonBox.Ok
|
||||
onAccepted: close()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue