fix password not match error; fix clearing add/edit pane on reset
the build was successful Details

This commit is contained in:
Dan Ballard 2019-12-17 17:18:16 -08:00
parent e635a3a384
commit 9397131967
1 changed files with 6 additions and 3 deletions

View File

@ -35,6 +35,9 @@ ColumnLayout { // Add Profile Pane
txtPassword2.text = ""
deleting = false
deleteConfirmLabel.color = "black"
passwordErrorLabel.visible = false
txtCurrentPassword.text = ""
tag = ""
confirmDeleteTxt.text = ""
radioUsePassword.checked = true
@ -193,6 +196,8 @@ ColumnLayout { // Add Profile Pane
passwordErrorLabel.visible = true
} else {
gcd.createProfile(txtProfileName.text, radioNoPassword.checked, txtPassword1.text)
gcd.reloadProfileList()
parentStack.pane = parentStack.managementPane
}
} else {
gcd.updateNick(onion, txtProfileName.text)
@ -202,12 +207,10 @@ ColumnLayout { // Add Profile Pane
passwordErrorLabel.visible = true
} else {
gcd.changePassword(onion, txtCurrentPassword.text, txtPassword1.text, radioNoPassword.checked)
return
}
}
}
gcd.reloadProfileList()
parentStack.pane = parentStack.managementPane
}
}