mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
mobile-widgets/qml: correct Pin page
Did not switch to divelog page. call verifyCredentials() not saveCredentials when checking pin Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
parent
c4952b0dcb
commit
e9d519444d
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ Item {
|
|||
property string password: password.text;
|
||||
|
||||
function saveCredentials() {
|
||||
prefs.cloudPin = pin.text
|
||||
manager.saveCloudCredentials(login.text, password.text)
|
||||
}
|
||||
|
||||
|
@ -103,7 +102,7 @@ Item {
|
|||
id: registerpin
|
||||
text: qsTr("Register")
|
||||
onClicked: {
|
||||
saveCredentials()
|
||||
verifyCredentials(login.text, password.text, pin.text)
|
||||
}
|
||||
}
|
||||
Controls.Label {
|
||||
|
|
Loading…
Reference in a new issue