QTfrontend/hwform.cpp
changeset 2010 bac82fb13a42
parent 2009 91f461c218ab
child 2012 76fff564246b
equal deleted inserted replaced
2009:91f461c218ab 2010:bac82fb13a42
   343 		
   343 		
   344 		if(lastid == ID_PAGE_SETUP) { // _TEAM
   344 		if(lastid == ID_PAGE_SETUP) { // _TEAM
   345 		  if (editedTeam) {
   345 		  if (editedTeam) {
   346 		    curTeamSelWidget->addTeam(*editedTeam);
   346 		    curTeamSelWidget->addTeam(*editedTeam);
   347 		  }
   347 		  }
   348 		} else if(lastid != ID_PAGE_GAMESTATS && lastid != ID_PAGE_INGAME && lastid != ID_PAGE_SCHEME) {
   348 		} else if(lastid != ID_PAGE_GAMESTATS
       
   349 				&& lastid != ID_PAGE_INGAME
       
   350 				&& lastid != ID_PAGE_SCHEME
       
   351 				&& lastid != ID_PAGE_SELECTWEAPON) {
   349 			curTeamSelWidget->resetPlayingTeams(teamsList);
   352 			curTeamSelWidget->resetPlayingTeams(teamsList);
   350 		}
   353 		}
   351 	} else
   354 	} else
   352 	if (id == ID_PAGE_GAMESTATS)
   355 	if (id == ID_PAGE_GAMESTATS)
   353 	{
   356 	{