Index: sources/gui/qml/dialogs/Alert.qml =================================================================== diff -u -r89e3ca8e108dd4b3315ae7862c631eba43f8fd0f -rb5a7852d2637f7969680fbd3d2c821a6a74a8ccd --- sources/gui/qml/dialogs/Alert.qml (.../Alert.qml) (revision 89e3ca8e108dd4b3315ae7862c631eba43f8fd0f) +++ sources/gui/qml/dialogs/Alert.qml (.../Alert.qml) (revision b5a7852d2637f7969680fbd3d2c821a6a74a8ccd) @@ -83,6 +83,7 @@ TouchRect { id: _confirm objectName: "AlertConfirmButton" + visible: !vAlert.acknowledgeOnly width: _root.width / 3; text.text: qsTr("CONFIRM") button.onPressed: { @@ -93,6 +94,7 @@ TouchRect { id: _cancel objectName: "AlertCancelButton" + visible: !vAlert.acknowledgeOnly width: _root.width / 3; text.text: qsTr("CANCEL") button.onPressed: { @@ -102,6 +104,23 @@ } } + + TouchRect { id: _acknowledge + objectName: "AlertOkayButton" + anchors { + horizontalCenter: parent.horizontalCenter + bottom: parent.bottom + bottomMargin: Variables.dialogMargin + } + visible: vAlert.acknowledgeOnly + width: _root.width / 3; + text.text: qsTr("OKAY") + button.onPressed: { + vAlert.doAlertResponse(true) + close() + } + } + Connections { target: vAlert onDidRequestShowAlert: {