DialogEditTrainee (adminMode)

This commit is contained in:
2025-10-17 11:12:57 +03:00
parent b539f9fd2b
commit d643205323
7 changed files with 33 additions and 17 deletions

View File

@@ -292,7 +292,7 @@ bool EditorInstructors::verifyInstructor(Instructor instructor)
bool EditorInstructors::editInstructor(Instructor instructor, Instructor* instructor_edit)
{
DialogEditInstructor dlg(this);
DialogEditInstructor dlg(adminMode, this);
dlg.setWindowFlags(dlg.windowFlags() & ~Qt::WindowContextHelpButtonHint);
dlg.setInstructor(instructor);