QTfrontend/pages.cpp
changeset 4594 5645462cc78f
parent 4586 4ba4f021070f
child 4598 7cb8c9db6e8d
--- a/QTfrontend/pages.cpp	Tue Dec 21 10:46:52 2010 +0100
+++ b/QTfrontend/pages.cpp	Tue Dec 21 14:42:47 2010 +0100
@@ -1063,7 +1063,10 @@
     tmpdir.setFilter(QDir::Files);
     CBSelect->addItems(tmpdir.entryList(QStringList("*.lua")).replaceInStrings(QRegExp("^(.*)\\.lua"), "\\1"));
     for(int i = 0; i < CBSelect->count(); i++)
+    {
         CBSelect->setItemData(i, CBSelect->itemText(i));
+        CBSelect->setItemText(i, CBSelect->itemText(i).replace("_", " "));
+    }
 
     pageLayout->addWidget(CBSelect, 1, 1);