[users] Use API to change weak-checkbox visibility
This commit is contained in:
parent
eb90757063
commit
21bcd560b1
@ -102,7 +102,8 @@ UsersPage::UsersPage( QWidget* parent )
|
|||||||
setWriteRootPassword( true );
|
setWriteRootPassword( true );
|
||||||
ui->checkBoxReusePassword->setChecked( true );
|
ui->checkBoxReusePassword->setChecked( true );
|
||||||
ui->checkBoxValidatePassword->setChecked( true );
|
ui->checkBoxValidatePassword->setChecked( true );
|
||||||
ui->checkBoxValidatePassword->setVisible( false );
|
|
||||||
|
setPasswordCheckboxVisible( false );
|
||||||
|
|
||||||
// Don't expand the explanations to "stupid wide", but keep them vaguely as-wide-as
|
// Don't expand the explanations to "stupid wide", but keep them vaguely as-wide-as
|
||||||
// the things they are explaining.
|
// the things they are explaining.
|
||||||
|
Loading…
Reference in New Issue
Block a user