diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-27 09:28:03 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-28 08:34:56 -0800 |
commit | de4e1c1efab7db814e70b66858d18f4ac74eedff (patch) | |
tree | 42247ae7618560e3736398d4d290ad3accb5617c /mobile-widgets | |
parent | dc018cd77d746b2d8cf97f714382e63841435ef6 (diff) | |
download | subsurface-de4e1c1efab7db814e70b66858d18f4ac74eedff.tar.gz |
mobile-widgets/qml: don't call cancelCredentialsPinSetup()
Copy functionality from cancelCredentialsPinSetup() into Cancel in
CloudCredentials.qml, this is part of the general qmlprefs cleanup.
Remove rootItem.returnTopPage() since the user stays on this page
(sees credentials again).
Signed-off-by: Jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/CloudCredentials.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mobile-widgets/qml/CloudCredentials.qml b/mobile-widgets/qml/CloudCredentials.qml index 66b6fa855..351c25d1d 100644 --- a/mobile-widgets/qml/CloudCredentials.qml +++ b/mobile-widgets/qml/CloudCredentials.qml @@ -109,8 +109,10 @@ Item { id: cancelpin text: qsTr("Cancel") onClicked: { - prefs.cancelCredentialsPinSetup() - rootItem.returnTopPage() + PrefCloudStorage.cloud_verification_status = CloudStatus.CS_UNKNOWN + prefs.cloudCredentials = CloudStatus.CS_UNKNOWN + manager.startPageText = qsTr("Check credentials..."); + prefs.showPin = false; } } } |