QTfrontend/ui/page/pagetraining.cpp
changeset 14651 e3e6b0c6543f
parent 14596 b4089fa16b34
child 15253 7d957886170f
--- a/QTfrontend/ui/page/pagetraining.cpp	Mon Jan 21 07:10:59 2019 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp	Mon Jan 21 09:12:39 2019 +0100
@@ -304,7 +304,7 @@
     list = (QListWidget*) tbw->currentWidget();
     QListWidgetItem * curItem = list->currentItem();
 
-    if (curItem != NULL)
+    if ((curItem != NULL) && (CBTeam->currentIndex() != -1))
         emit startMission(curItem->data(Qt::UserRole).toString(), getSubFolderOfSelected());
 }