equal
deleted
inserted
replaced
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() |