# HG changeset patch # User unc0rr # Date 1240241796 0 # Node ID bac82fb13a425ec643bcadb160a7404ba24bb95b # Parent 91f461c218abf367b3257069c1f25f2b33e1eb9e Fix team lists reset when editing weapon sets diff -r 91f461c218ab -r bac82fb13a42 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sun Apr 19 15:44:47 2009 +0000 +++ b/QTfrontend/hwform.cpp Mon Apr 20 15:36:36 2009 +0000 @@ -345,7 +345,10 @@ if (editedTeam) { curTeamSelWidget->addTeam(*editedTeam); } - } else if(lastid != ID_PAGE_GAMESTATS && lastid != ID_PAGE_INGAME && lastid != ID_PAGE_SCHEME) { + } else if(lastid != ID_PAGE_GAMESTATS + && lastid != ID_PAGE_INGAME + && lastid != ID_PAGE_SCHEME + && lastid != ID_PAGE_SELECTWEAPON) { curTeamSelWidget->resetPlayingTeams(teamsList); } } else