mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
Make sure the FullName is not empty.
This commit is contained in:
parent
a65963f5b0
commit
cb83e22ded
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue