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