QTfrontend/hwform.cpp
changeset 492 78e80f899b59
parent 486 7ea71cd3acd5
child 493 0c0ed17ad675
--- a/QTfrontend/hwform.cpp	Fri Feb 23 22:06:23 2007 +0000
+++ b/QTfrontend/hwform.cpp	Sat Feb 24 08:56:58 2007 +0000
@@ -65,6 +65,8 @@
 
 	connect(ui.pageMultiplayer->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
 	connect(ui.pageMultiplayer->BtnStartMPGame,	SIGNAL(clicked()),	this, SLOT(StartMPGame()));
+	connect(ui.pageMultiplayer->teamsSelect, SIGNAL(setEnabledGameStart(bool)), 
+		ui.pageMultiplayer->BtnStartMPGame, SLOT(setEnabled(bool)));
 
 	connect(ui.pagePlayDemo->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
 	connect(ui.pagePlayDemo->BtnPlayDemo,	SIGNAL(clicked()),	this, SLOT(PlayDemo()));
@@ -85,6 +87,8 @@
 
 	connect(ui.pageNetGame->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));
 	connect(ui.pageNetGame->BtnGo,	SIGNAL(clicked()),	this, SLOT(NetStartGame()));
+	connect(ui.pageNetGame->pNetTeamsWidget, SIGNAL(setEnabledGameStart(bool)), 
+		ui.pageNetGame->BtnGo, SLOT(setEnabled(bool)));
 
 	connect(ui.pageInfo->BtnBack,	SIGNAL(clicked()),	this, SLOT(GoBack()));