QTfrontend/hwform.cpp
changeset 1670 a2035c5d6089
parent 1669 b709e061577e
child 1671 bb12cb688f75
equal deleted inserted replaced
1669:b709e061577e 1670:a2035c5d6089
   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 
   306 
   307 //	if ((lastid == ID_PAGE_GAMESTATS) && !hwnet)
   307 	if ((lastid == ID_PAGE_GAMESTATS) && (id == ID_PAGE_NETGAME) && !hwnet)
   308 //		GoBack();
   308 		GoBack();
   309 }
   309 }
   310 
   310 
   311 void HWForm::GoToPage(quint8 id)
   311 void HWForm::GoToPage(quint8 id)
   312 {
   312 {
   313 	quint8 lastid = ui.Pages->currentIndex();
   313 	quint8 lastid = ui.Pages->currentIndex();