aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Murillo Bernardes <mfbernardes@gmail.com>2018-06-16 11:05:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-06-16 04:01:49 -0700
commitfed2a283b211fc7156678a118dd091fa2773ae76 (patch)
tree4049e0f019d6385f53760a37fcb77f1802e8ab88 /mobile-widgets
parent16d7620e210da62e644cdf6bee4039c4b7aef9a1 (diff)
downloadsubsurface-fed2a283b211fc7156678a118dd091fa2773ae76.tar.gz
mobile: fix reference to credentialStatus property
Commit b8eb348f moved credentialStatus but missed one spot. When starting from a fresh install, clicking "No cloud mode” fails because of this. Signed-off-by: Murillo Bernardes <mfbernardes@gmail.com>
Diffstat (limited to 'mobile-widgets')
-rw-r--r--mobile-widgets/qml/CloudCredentials.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml
index b32323d05..2ddd5a3d1 100644
--- a/mobile-widgets/qml/CloudCredentials.qml
+++ b/mobile-widgets/qml/CloudCredentials.qml
@@ -146,7 +146,7 @@ Item {
text: qsTr("No cloud mode")
onClicked: {
manager.syncToCloud = false
- manager.credentialStatus = QMLPrefs.CS_NOCLOUD
+ prefs.credentialStatus = QMLPrefs.CS_NOCLOUD
manager.saveCloudCredentials()
manager.openNoCloudRepo()
}