QTfrontend/hwform.cpp
branchspacecampaign
changeset 9482 1c0f330f28f8
parent 9324 98368198a75d
child 9641 b08c8bde57e3
equal deleted inserted replaced
9480:df00d205ce4b 9482:1c0f330f28f8
  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 {