[users] Use API to change weak-checkbox visibility

This commit is contained in:
Adriaan de Groot 2019-10-21 17:26:06 +02:00
parent eb90757063
commit 21bcd560b1

View File

@ -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.