mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-29 20:05:38 +03:00
Повторная сортировка при загрузке Инстр и Обуч
This commit is contained in:
@@ -167,6 +167,8 @@ void InstructorsView::loadInstructorsFromDB()
|
|||||||
|
|
||||||
setCurrentInstructor(lastCurrentID);
|
setCurrentInstructor(lastCurrentID);
|
||||||
|
|
||||||
|
treeWidget->sortItems(ColumnsTreeInsructors::clmn_Instructor, Qt::SortOrder::AscendingOrder);
|
||||||
|
|
||||||
mtxTreeWidget.unlock();
|
mtxTreeWidget.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -193,6 +193,8 @@ void TraineesView::loadTraineesFromDB()
|
|||||||
else
|
else
|
||||||
setCurrentTrainee(lastCurrentID);
|
setCurrentTrainee(lastCurrentID);
|
||||||
|
|
||||||
|
treeWidget->sortItems(ColumnsTreeTrainees::clmn_Trainee, Qt::SortOrder::AscendingOrder);
|
||||||
|
|
||||||
mtxTreeWidget.unlock();
|
mtxTreeWidget.unlock();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user