diff --git a/LibInstructorsAndTrainees/commonview.h b/LibInstructorsAndTrainees/commonview.h index 1a8870c..534a604 100644 --- a/LibInstructorsAndTrainees/commonview.h +++ b/LibInstructorsAndTrainees/commonview.h @@ -72,6 +72,7 @@ public: void clearSelection() { treeWidget->clearSelection(); + treeWidget->setCurrentIndex(QModelIndex()); lastCurrentID = 0; }