Make sure the FullName is not empty.

main
Teo Mrnjavac 9 years ago
parent a65963f5b0
commit cb83e22ded

@ -102,7 +102,9 @@ UsersPage::createJobs( const QString& defaultUserGroup, const QStringList& defau
Calamares::Job* j;
j = new CreateUserJob( ui->textBoxUsername->text(),
QString(),
ui->textBoxFullName->text().isEmpty() ?
ui->textBoxUsername->text() :
ui->textBoxFullName->text(),
ui->checkBoxLoginAuto->isChecked(),
defaultUserGroup,
defaultGroupsList );

Loading…
Cancel
Save