QTfrontend/hwform.cpp
changeset 4594 5645462cc78f
parent 4592 b1fe47b11b99
child 4746 3ae448aebe7e
child 4831 57b46b5dbfff
--- a/QTfrontend/hwform.cpp	Tue Dec 21 10:46:52 2010 +0100
+++ b/QTfrontend/hwform.cpp	Tue Dec 21 14:42:47 2010 +0100
@@ -1172,7 +1172,7 @@
     QStringList entries = tmpdir.entryList(QStringList("*#*.lua"));
     //entries.sort();
     for(int i = 0; (i < entries.count()) && (i <= team.CampaignProgress); i++)
-        ui.pageCampaign->CBSelect->addItem(QString(entries[i]).replace(QRegExp("^(\\d+)#(.+)\\.lua"), QComboBox::tr("Mission") + " \\1: \\2"), QString(entries[i]).replace(QRegExp("^(.*)\\.lua"), "\\1"));
+        ui.pageCampaign->CBSelect->addItem(QString(entries[i]).replace(QRegExp("^(\\d+)#(.+)\\.lua"), QComboBox::tr("Mission") + " \\1: \\2").replace("_", " "), QString(entries[i]).replace(QRegExp("^(.*)\\.lua"), "\\1"));
 }
 
 void HWForm::AssociateFiles()