summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index 7cfc768bb..657158068 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -52,6 +52,7 @@ MobileComponents.ApplicationWindow {
},
MobileComponents.ActionGroup {
text: "Manage dives"
+ enabled: manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL
/*
* disable for the beta to avoid confusion
Action {
@@ -102,6 +103,7 @@ MobileComponents.ApplicationWindow {
MobileComponents.ActionGroup {
text: "GPS"
+ enabled: manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL
Action {
text: "GPS-tag dives"
onTriggered: {