mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
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>
This commit is contained in:
parent
dc018cd77d
commit
de4e1c1efa
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue