Очищение списков назначенных задач при разлогинивании

This commit is contained in:
krivoshein
2025-01-29 10:49:41 +03:00
parent 87de435d4c
commit d87f8e5013
5 changed files with 14 additions and 2 deletions

View File

@@ -117,10 +117,10 @@ void ViewerTrainees::on_treeWidget_currentItemChanged(QTreeWidgetItem *current,
if(current == nullptr)
return;
if(current->childCount() == 0)
//if(current->childCount() == 0)
{//Выбран обучаемый
QString login = current->text(ColumnsTreeTrainees::clmn_Login);
if(login != "")
//if(login != "")
{
int newCurrentID = connectorToServer->getIdTraineeByLogin(login);