QTfrontend/teamselhelper.cpp
changeset 1475 bab5650fc894
parent 1440 6439fa9af904
child 1477 001a52a108ed
--- a/QTfrontend/teamselhelper.cpp	Tue Nov 04 22:42:08 2008 +0000
+++ b/QTfrontend/teamselhelper.cpp	Tue Nov 04 22:49:13 2008 +0000
@@ -82,14 +82,15 @@
 	//QObject::connect(bText, SIGNAL(clicked()), this, SLOT(activateTeam()));
 }
 
-void TeamShowWidget::setNonInteractive()
+void TeamShowWidget::setInteractivity(bool interactive)
 {
-  if(m_team.isNetTeam()) {
-    disconnect(butt, SIGNAL(clicked()));
-   // disconnect(bText, SIGNAL(clicked()));
-  }
-  disconnect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor()));
-  phhoger->setNonInteractive();
+	if(m_team.isNetTeam()) {
+		butt->setEnabled(interactive);
+	}
+	
+	colorButt->setEnabled(interactive);
+	//phhoger->setNonInteractive();
+	phhoger->setEnabled(interactive);
 }
 
 void TeamShowWidget::setHHNum(unsigned int num)