summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-06-15 12:32:00 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:47:32 -0400
commit182de32380d192a6dcf71b656e5e5cd3bab30a6e (patch)
tree259f31311f22fe8d7e48b71100168a10b9ed0620
parentDon't emit signal in constructor (diff)
downloadnheko-182de32380d192a6dcf71b656e5e5cd3bab30a6e.tar.xz
Use standard buttons for OK button
-rw-r--r--resources/qml/RoomSettings.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml

index c852b837..a27be13e 100644 --- a/resources/qml/RoomSettings.qml +++ b/resources/qml/RoomSettings.qml
@@ -280,10 +280,10 @@ ApplicationWindow { } - Button { - Layout.alignment: Qt.AlignRight - text: qsTr("OK") - onClicked: close() + DialogButtonBox { + Layout.fillWidth: true + standardButtons: DialogButtonBox.Ok + onAccepted: close() } }