QTfrontend/ui/page/pagetraining.cpp
changeset 14462 4c743ef80b1b
parent 13645 fc46cb95c6d7
child 14471 c5033a95fd7b
--- a/QTfrontend/ui/page/pagetraining.cpp	Sun Dec 16 18:40:25 2018 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Tue Dec 18 14:24:23 2018 +0100
@@ -101,6 +101,12 @@
     tbw->addTab(lstScenarios, tr("Scenarios"));
     tbw->setCurrentWidget(lstTrainings);
 
+    QLabel* lblteam = new QLabel(tr("Team"));
+    CBTeam = new QComboBox(this);
+    CBTeam->setMaxVisibleItems(30);
+    pageLayout->addWidget(lblteam, 2, 0);
+    pageLayout->addWidget(CBTeam, 2, 1);
+
     return pageLayout;
 }
 
@@ -200,6 +206,7 @@
         // first, load scripts in order specified in order.cfg (if present)
         QFile orderFile(QString("physfs://Missions/%1/order.cfg").arg(subFolder));
         QStringList orderedMissions;
+
         if (orderFile.open(QFile::ReadOnly))
         {
             QString m_id;