# HG changeset patch # User Wuzzy # Date 1545170029 -3600 # Node ID bfacce4ff920f11cd9b1cc9ce22160b369b02bdd # Parent 41f1b611cdd27bd24c71ceaf66bdb159c098f25d Sync team comboboxes in campaign and training page diff -r 41f1b611cdd2 -r bfacce4ff920 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Tue Dec 18 22:27:13 2018 +0100 +++ b/QTfrontend/hwform.cpp Tue Dec 18 22:53:49 2018 +0100 @@ -332,6 +332,8 @@ connect(ui.pageCampaign->CBCampaign, SIGNAL(currentIndexChanged(int)), this, SLOT(UpdateCampaignPage(int))); connect(ui.pageCampaign->CBMission, SIGNAL(currentIndexChanged(int)), this, SLOT(UpdateCampaignPageMission(int))); connect(ui.pageTraining->CBTeam, SIGNAL(currentIndexChanged(int)), this, SLOT(UpdateTrainingPageTeam(int))); + connect(ui.pageCampaign->CBTeam, SIGNAL(currentIndexChanged(int)), ui.pageTraining->CBTeam, SLOT(setCurrentIndex(int))); + connect(ui.pageTraining->CBTeam, SIGNAL(currentIndexChanged(int)), ui.pageCampaign->CBTeam, SLOT(setCurrentIndex(int))); connect(ui.pageSelectWeapon->pWeapons, SIGNAL(weaponsDeleted(QString)), this, SLOT(DeleteWeapons(QString)));