summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/DownloadFromDiveComputer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/DownloadFromDiveComputer.qml')
-rw-r--r--qt-mobile/qml/DownloadFromDiveComputer.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-mobile/qml/DownloadFromDiveComputer.qml b/qt-mobile/qml/DownloadFromDiveComputer.qml
index 67f21345c..529af82eb 100644
--- a/qt-mobile/qml/DownloadFromDiveComputer.qml
+++ b/qt-mobile/qml/DownloadFromDiveComputer.qml
@@ -14,6 +14,17 @@ MobileComponents.Page {
height: parent.height
Layout.fillWidth: true;
+ contextualActions: [
+ Action {
+ text: "Close Preferences"
+ iconName: "dialog-cancel"
+ onTriggered: {
+ stackView.pop()
+ contextDrawer.close()
+ }
+ }
+ ]
+
ColumnLayout {
anchors.top: parent.top
height: parent.height