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
@ -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…
x
Reference in New Issue
Block a user