QTfrontend/hwform.cpp
changeset 11956 b05db9ca6e1c
parent 11955 3792a9f9fa9c
child 11960 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());
     }
 }