equal
deleted
inserted
replaced
1900 campaignMissionInfo = getCampMissionList(campaignName,tName); |
1900 campaignMissionInfo = getCampMissionList(campaignName,tName); |
1901 ui.pageCampaign->CBMission->clear(); |
1901 ui.pageCampaign->CBMission->clear(); |
1902 |
1902 |
1903 for(int i=0;i<campaignMissionInfo.size();i++) |
1903 for(int i=0;i<campaignMissionInfo.size();i++) |
1904 { |
1904 { |
1905 // Maybe not enforce the prefix Mission %1, isn't so nice for the misison with no |
1905 ui.pageCampaign->CBMission->addItem(QString(campaignMissionInfo[i].name), QString(campaignMissionInfo[i].name)); |
1906 // specific order |
|
1907 ui.pageCampaign->CBMission->addItem(QString("Mission %1: ").arg(campaignMissionInfo.size()-i) + QString(campaignMissionInfo[i].name), QString(campaignMissionInfo[i].name)); |
|
1908 } |
1906 } |
1909 } |
1907 } |
1910 |
1908 |
1911 void HWForm::UpdateCampaignPageMission(int index) |
1909 void HWForm::UpdateCampaignPageMission(int index) |
1912 { |
1910 { |