QTfrontend/hwform.cpp
changeset 4524 65c294aedaea
parent 4520 e7882bd1a894
child 4525 0a81be113e21
equal deleted inserted replaced
4523:23ed16e6c7d2 4524:65c294aedaea
   471           HWTeam team(*it);
   471           HWTeam team(*it);
   472           team.LoadFromFile();
   472           team.LoadFromFile();
   473           teamsList.push_back(team);
   473           teamsList.push_back(team);
   474         }
   474         }
   475 
   475 
   476         if(lastid == ID_PAGE_SETUP) { // _TEAM
   476         if(lastid == ID_PAGE_SETUP || lastid == ID_PAGE_DRAWMAP) { // _TEAM
   477           if (editedTeam) {
   477           if (editedTeam) {
   478             curTeamSelWidget->addTeam(*editedTeam);
   478             curTeamSelWidget->addTeam(*editedTeam);
   479           }
   479           }
   480         } else if(lastid != ID_PAGE_GAMESTATS
   480         } else if(lastid != ID_PAGE_GAMESTATS
   481                 && lastid != ID_PAGE_INGAME
   481                 && lastid != ID_PAGE_INGAME