summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-mobile/qml/DiveList.qml2
-rw-r--r--qt-mobile/qml/main.qml1
2 files changed, 3 insertions, 0 deletions
diff --git a/qt-mobile/qml/DiveList.qml b/qt-mobile/qml/DiveList.qml
index dd4b955b6..b3b82bc27 100644
--- a/qt-mobile/qml/DiveList.qml
+++ b/qt-mobile/qml/DiveList.qml
@@ -214,8 +214,10 @@ MobileComponents.Page {
onVisibleChanged: {
if (visible) {
page.mainAction = page.saveAction
+ showingDiveList = false
} else {
page.mainAction = null
+ showingDiveList = true
}
}
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 439986dee..e2ceab80a 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -15,6 +15,7 @@ MobileComponents.ApplicationWindow {
property int oldStatus: -1
property alias accessingCloud: manager.accessingCloud
property QtObject notification: null
+ property bool showingDiveList: false
onAccessingCloudChanged: {
if (accessingCloud) {
showPassiveNotification("Accessing Subsurface Cloud Storage", 500000);