mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[users] Run checks more often
- check password warnings when the page is entered - re-check (and translate) on language change
This commit is contained in:
parent
cc66903678
commit
b3e7c3f294
1 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,11 @@ UsersPage::retranslate()
|
|||
"use this computer, you can create multiple "
|
||||
"accounts after installation.</small>" ) );
|
||||
}
|
||||
// Re-do password checks (with output messages) as well.
|
||||
// .. the password-checking methods get their values from the text boxes,
|
||||
// not from their parameters.
|
||||
onPasswordTextChanged(QString());
|
||||
onRootPasswordTextChanged(QString());
|
||||
}
|
||||
|
||||
|
||||
|
@ -222,6 +227,8 @@ void
|
|||
UsersPage::onActivate()
|
||||
{
|
||||
ui->textBoxFullName->setFocus();
|
||||
onPasswordTextChanged(QString());
|
||||
onRootPasswordTextChanged(QString());
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue