forked from cwtch.im/ui
Merge branch 'pwFixes' of dan/ui into master
This commit is contained in:
commit
f5f6d4b947
|
@ -35,6 +35,9 @@ ColumnLayout { // Add Profile Pane
|
||||||
txtPassword2.text = ""
|
txtPassword2.text = ""
|
||||||
deleting = false
|
deleting = false
|
||||||
deleteConfirmLabel.color = "black"
|
deleteConfirmLabel.color = "black"
|
||||||
|
passwordErrorLabel.visible = false
|
||||||
|
txtCurrentPassword.text = ""
|
||||||
|
|
||||||
tag = ""
|
tag = ""
|
||||||
confirmDeleteTxt.text = ""
|
confirmDeleteTxt.text = ""
|
||||||
radioUsePassword.checked = true
|
radioUsePassword.checked = true
|
||||||
|
@ -193,6 +196,8 @@ ColumnLayout { // Add Profile Pane
|
||||||
passwordErrorLabel.visible = true
|
passwordErrorLabel.visible = true
|
||||||
} else {
|
} else {
|
||||||
gcd.createProfile(txtProfileName.text, radioNoPassword.checked, txtPassword1.text)
|
gcd.createProfile(txtProfileName.text, radioNoPassword.checked, txtPassword1.text)
|
||||||
|
gcd.reloadProfileList()
|
||||||
|
parentStack.pane = parentStack.managementPane
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
gcd.updateNick(onion, txtProfileName.text)
|
gcd.updateNick(onion, txtProfileName.text)
|
||||||
|
@ -202,12 +207,10 @@ ColumnLayout { // Add Profile Pane
|
||||||
passwordErrorLabel.visible = true
|
passwordErrorLabel.visible = true
|
||||||
} else {
|
} else {
|
||||||
gcd.changePassword(onion, txtCurrentPassword.text, txtPassword1.text, radioNoPassword.checked)
|
gcd.changePassword(onion, txtCurrentPassword.text, txtPassword1.text, radioNoPassword.checked)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
gcd.reloadProfileList()
|
|
||||||
parentStack.pane = parentStack.managementPane
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue