Выбор первого item для FIM AMM по умолчанию

This commit is contained in:
krivoshein
2025-01-31 16:24:54 +03:00
parent fe298d3e61
commit 02865821a0
2 changed files with 8 additions and 0 deletions

View File

@@ -194,6 +194,10 @@ void AMMtasksWidget::slot_listItemsReady(QList<QTreeWidgetItem *> listItems)
for(QTreeWidgetItem * item : listItems)
treeWidget->addTopLevelItem(item);
QTreeWidgetItem * item = treeWidget->topLevelItem(0);
if(item != nullptr)
treeWidget->setCurrentItem(item);
waitAnimationWidget->hideWithStop();
}