QTfrontend/pages.cpp
changeset 3011 73c8f618fd8b
parent 2948 3f21a9dc93d0
child 3044 8466bd29280f
--- a/QTfrontend/pages.cpp	Wed Mar 17 11:02:08 2010 +0000
+++ b/QTfrontend/pages.cpp	Wed Mar 17 12:30:55 2010 +0000
@@ -841,9 +841,9 @@
 
     QDir tmpdir;
     tmpdir.cd(datadir->absolutePath());
-    tmpdir.cd("Missions");
+    tmpdir.cd("Missions/Training");
     tmpdir.setFilter(QDir::Files);
-    CBSelect->addItems(tmpdir.entryList(QStringList("*.hwt")).replaceInStrings(QRegExp("^(.*)\\.hwt"), "\\1"));
+    CBSelect->addItems(tmpdir.entryList(QStringList("*.lua")).replaceInStrings(QRegExp("^(.*)\\.lua"), "\\1"));
 
     pageLayout->addWidget(CBSelect, 1, 1);