mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[users] Adjust UI to is-field-editable based on presets
This commit is contained in:
parent
7bae625f46
commit
caf18321df
1 changed files with 3 additions and 0 deletions
|
@ -144,6 +144,9 @@ UsersPage::UsersPage( Config* config, QWidget* parent )
|
||||||
onReuseUserPasswordChanged( m_config->reuseUserPasswordForRoot() );
|
onReuseUserPasswordChanged( m_config->reuseUserPasswordForRoot() );
|
||||||
onFullNameTextEdited( m_config->fullName() );
|
onFullNameTextEdited( m_config->fullName() );
|
||||||
reportLoginNameStatus( m_config->loginNameStatus() );
|
reportLoginNameStatus( m_config->loginNameStatus() );
|
||||||
|
|
||||||
|
ui->textBoxLoginName->setEnabled( m_config->isEditable( "loginName" ) );
|
||||||
|
ui->textBoxFullName->setEnabled( m_config->isEditable( "fullName" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
UsersPage::~UsersPage()
|
UsersPage::~UsersPage()
|
||||||
|
|
Loading…
Add table
Reference in a new issue