QTfrontend/hwform.cpp
changeset 1627 efcf6e976869
parent 1625 37aae47943ce
child 1648 32d99a3c7998
--- a/QTfrontend/hwform.cpp	Fri Jan 09 17:27:13 2009 +0000
+++ b/QTfrontend/hwform.cpp	Fri Jan 09 17:56:53 2009 +0000
@@ -296,13 +296,16 @@
 		    curTeamSelWidget->addTeam(*editedTeam);
 		  }
 		} else if(lastid != ID_PAGE_GAMESTATS && lastid != ID_PAGE_INGAME) {
-		  curTeamSelWidget->resetPlayingTeams(teamsList);
+			curTeamSelWidget->resetPlayingTeams(teamsList);
 		}
 	} else
 	if (id == ID_PAGE_GAMESTATS)
 	{
 		ui.pageGameStats->renderStats();
 	}
+
+	if ((lastid == ID_PAGE_GAMESTATS) && !hwnet)
+		GoBack();
 }
 
 void HWForm::GoToPage(quint8 id)