QTfrontend/hwform.cpp
changeset 14509 64d73515abba
parent 14470 6ab8335fe0a6
child 14525 029f40c609b4
--- a/QTfrontend/hwform.cpp	Tue Jan 01 02:25:18 2019 +0100
+++ b/QTfrontend/hwform.cpp	Wed Jan 02 03:30:54 2019 +0100
@@ -2070,10 +2070,16 @@
     {
         int index = ui.pageCampaign->CBTeam->findData(lastTeam, Qt::DisplayRole);
         if(index != -1)
+        {
             ui.pageCampaign->CBTeam->setCurrentIndex(index);
+            UpdateCampaignPageTeam(index);
+        }
         index = ui.pageTraining->CBTeam->findData(lastTeam, Qt::DisplayRole);
         if(index != -1)
+        {
             ui.pageTraining->CBTeam->setCurrentIndex(index);
+            UpdateTrainingPageTeam(index);
+        }
     }
 }