mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
bugFixing 6
This commit is contained in:
@@ -13,6 +13,8 @@ DialogEditInstructor::DialogEditInstructor(QWidget *parent) :
|
||||
ui->editName->setProperty("mandatoryField", true);
|
||||
ui->editLogin->setProperty("mandatoryField", true);
|
||||
ui->editPassword->setProperty("mandatoryField", true);
|
||||
|
||||
ui->btnOK->setEnabled(false);
|
||||
}
|
||||
|
||||
DialogEditInstructor::~DialogEditInstructor()
|
||||
@@ -36,6 +38,8 @@ void DialogEditInstructor::setInstructor(Instructor instructor)
|
||||
ui->editName->setEnabled(false);
|
||||
else
|
||||
ui->editName->setEnabled(true);
|
||||
|
||||
ui->btnOK->setEnabled(false);
|
||||
}
|
||||
|
||||
Instructor DialogEditInstructor::getInstructor()
|
||||
|
||||
@@ -23,6 +23,8 @@ void DialogEditGroup::setGroup(Group group)
|
||||
groupInput = group;
|
||||
|
||||
ui->editName->setText(group.getName());
|
||||
|
||||
ui->btnOK->setEnabled(false);
|
||||
}
|
||||
|
||||
Group DialogEditGroup::getGroup()
|
||||
|
||||
@@ -30,6 +30,8 @@ void DialogEditTrainee::setTrainee(Trainee trainee)
|
||||
|
||||
ui->checkArchived->setChecked(trainee.getArchived());
|
||||
ui->checkLoggedIn->setChecked(trainee.getLoggedIn());
|
||||
|
||||
ui->btnOK->setEnabled(false);
|
||||
}
|
||||
|
||||
Trainee DialogEditTrainee::getTrainee()
|
||||
|
||||
Reference in New Issue
Block a user