mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 19:05:36 -04:00
[users] Add now-obvious missed initialization
- start the checkbox off in the state from config
This commit is contained in:
parent
15b5ef467e
commit
d7dc48d201
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ UsersPage::UsersPage( Config* config, QWidget* parent )
|
|||
connect( config, &Config::loginNameChanged, ui->textBoxLoginName, &QLineEdit::setText );
|
||||
connect( config, &Config::loginNameStatusChanged, this, &UsersPage::reportLoginNameStatus );
|
||||
|
||||
ui->checkBoxDoAutoLogin->setChecked( m_config->doAutoLogin() );
|
||||
connect( ui->checkBoxDoAutoLogin, &QCheckBox::stateChanged, this, [this]( int checked ) {
|
||||
m_config->setAutoLogin( checked != Qt::Unchecked );
|
||||
} );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue