mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Fix edit profile password glitch
This commit is contained in:
parent
23c936fc3f
commit
8a79769f3a
@ -246,7 +246,7 @@ void NewProfile::edit(const QString name)
|
||||
ui->userNameEdit->setReadOnly(true);
|
||||
ui->firstNameEdit->setText(profile->user->firstName());
|
||||
ui->lastNameEdit->setText(profile->user->lastName());
|
||||
if (profile->contains(UI_STR_Password)) {
|
||||
if (profile->contains(UI_STR_Password) && !profile->p_preferences[UI_STR_Password].toString().isEmpty()) {
|
||||
// leave the password box blank..
|
||||
QString a="******";
|
||||
ui->passwordEdit1->setText(a);
|
||||
|
Loading…
Reference in New Issue
Block a user