equal
deleted
inserted
replaced
294 if(lastid == ID_PAGE_SETUP) { // _TEAM |
294 if(lastid == ID_PAGE_SETUP) { // _TEAM |
295 if (editedTeam) { |
295 if (editedTeam) { |
296 curTeamSelWidget->addTeam(*editedTeam); |
296 curTeamSelWidget->addTeam(*editedTeam); |
297 } |
297 } |
298 } else if(lastid != ID_PAGE_GAMESTATS && lastid != ID_PAGE_INGAME) { |
298 } else if(lastid != ID_PAGE_GAMESTATS && lastid != ID_PAGE_INGAME) { |
299 curTeamSelWidget->resetPlayingTeams(teamsList); |
299 curTeamSelWidget->resetPlayingTeams(teamsList); |
300 } |
300 } |
301 } else |
301 } else |
302 if (id == ID_PAGE_GAMESTATS) |
302 if (id == ID_PAGE_GAMESTATS) |
303 { |
303 { |
304 ui.pageGameStats->renderStats(); |
304 ui.pageGameStats->renderStats(); |
305 } |
305 } |
|
306 |
|
307 if ((lastid == ID_PAGE_GAMESTATS) && !hwnet) |
|
308 GoBack(); |
306 } |
309 } |
307 |
310 |
308 void HWForm::GoToPage(quint8 id) |
311 void HWForm::GoToPage(quint8 id) |
309 { |
312 { |
310 quint8 lastid = ui.Pages->currentIndex(); |
313 quint8 lastid = ui.Pages->currentIndex(); |