Allow setting the default for autologin/no autologin.

This commit is contained in:
Teo Mrnjavac 2015-08-19 12:51:06 +02:00
parent 761f22443b
commit 4ae55d0108
3 changed files with 15 additions and 0 deletions

View file

@ -407,3 +407,11 @@ UsersPage::onRootPasswordTextChanged( const QString& )
emit checkReady( isReady() );
}
void
UsersPage::setAutologinDefault( bool checked )
{
ui->checkBoxLoginAuto->setChecked( checked );
ui->checkBoxLoginNormal->setChecked( !checked );
}