aboutsummaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/CloudCredentials.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qt-mobile/qml/CloudCredentials.qml')
-rw-r--r--qt-mobile/qml/CloudCredentials.qml14
1 files changed, 13 insertions, 1 deletions
diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml
index fbd5ae169..229c080ca 100644
--- a/qt-mobile/qml/CloudCredentials.qml
+++ b/qt-mobile/qml/CloudCredentials.qml
@@ -83,7 +83,19 @@ Item {
manager.cloudPassword = password.text
manager.saveCloudPassword = savePassword.checked
manager.saveCloudCredentials()
- stackView.pop()
+ }
+ }
+ }
+ Item {
+ height: backButton.height
+ width: backButton.width
+ visible: diveListView.count > 0 && manager.credentialStatus != QMLManager.INVALID
+ SubsurfaceButton {
+ id: backButton
+ text: "Back to dive list"
+ anchors.centerIn: parent
+ onClicked: {
+ manager.credentialStatus = oldStatus
}
}
}