QTfrontend/ui/page/pagetraining.cpp
changeset 14667 e3e6b0c6543f
parent 14612 b4089fa16b34
child 15269 7d957886170f
equal deleted inserted replaced
14666:9e7092e5990a 14667:e3e6b0c6543f
   302 {
   302 {
   303     QListWidget *list;
   303     QListWidget *list;
   304     list = (QListWidget*) tbw->currentWidget();
   304     list = (QListWidget*) tbw->currentWidget();
   305     QListWidgetItem * curItem = list->currentItem();
   305     QListWidgetItem * curItem = list->currentItem();
   306 
   306 
   307     if (curItem != NULL)
   307     if ((curItem != NULL) && (CBTeam->currentIndex() != -1))
   308         emit startMission(curItem->data(Qt::UserRole).toString(), getSubFolderOfSelected());
   308         emit startMission(curItem->data(Qt::UserRole).toString(), getSubFolderOfSelected());
   309 }
   309 }
   310 
   310 
   311 
   311 
   312 void PageTraining::updateInfo()
   312 void PageTraining::updateInfo()