mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
смена пароля админа + иконка в exe
This commit is contained in:
@@ -54,9 +54,15 @@ void DialogEditInstructor::setInstructor(Instructor instructor)
|
||||
ui->checkLoggedIn->setChecked(instructor.getLoggedIn());
|
||||
|
||||
if(instructor.getIsAdmin())
|
||||
{
|
||||
ui->editName->setEnabled(false);
|
||||
ui->editLogin->setEnabled(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
ui->editName->setEnabled(true);
|
||||
ui->editLogin->setEnabled(true);
|
||||
}
|
||||
|
||||
if(instructor.getNeedSetPassword())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user