QTfrontend/hwform.cpp
changeset 14467 4edcb655dc5a
parent 14462 4c743ef80b1b
child 14468 41f1b611cdd2
--- a/QTfrontend/hwform.cpp	Tue Dec 18 18:37:58 2018 +0100
+++ b/QTfrontend/hwform.cpp	Tue Dec 18 22:22:03 2018 +0100
@@ -1795,6 +1795,7 @@
 {
     game = new HWGame(config, gamecfg, ammo, pTeamSelWidget);
     connect(game, SIGNAL(CampStateChanged(int)), this, SLOT(UpdateCampaignPageProgress(int)));
+    connect(game, SIGNAL(TrainingStateChanged(int)), this, SLOT(UpdateTrainingPageTeam(int)));
     connect(game, SIGNAL(GameStateChanged(GameState)), this, SLOT(GameStateChanged(GameState)));
     connect(game, SIGNAL(GameStats(char, const QString &)), ui.pageGameStats, SLOT(GameStats(char, const QString &)));
     connect(game, SIGNAL(ErrorMessage(const QString &)), this, SLOT(ShowFatalErrorMessage(const QString &)), Qt::QueuedConnection);