QTfrontend/hwform.cpp
changeset 11951 b05db9ca6e1c
parent 11950 3792a9f9fa9c
child 11955 d72a177dbaea
--- a/QTfrontend/hwform.cpp	Wed May 04 00:14:41 2016 +0200
+++ b/QTfrontend/hwform.cpp	Wed May 04 02:10:59 2016 +0200
@@ -1883,6 +1883,10 @@
     for(int i=0;i<campaignMissionInfo.size();i++)
     {
         ui.pageCampaign->CBMission->addItem(QString(campaignMissionInfo[i].name), QString(campaignMissionInfo[i].name));
+        if(isMissionWon(campaignName, i, tName))
+            ui.pageCampaign->CBMission->setItemIcon(i, finishedIcon);
+        else
+            ui.pageCampaign->CBMission->setItemIcon(i, QIcon());
     }
 }