QTfrontend/teamselect.cpp
changeset 492 78e80f899b59
parent 486 7ea71cd3acd5
child 523 eddcef907b28
--- a/QTfrontend/teamselect.cpp	Fri Feb 23 22:06:23 2007 +0000
+++ b/QTfrontend/teamselect.cpp	Sat Feb 24 08:56:58 2007 +0000
@@ -48,6 +48,7 @@
 	      this, SLOT(changeTeamStatus(HWTeam)));
     }
   }
+  emit setEnabledGameStart(curPlayingTeams.size()>1);
 }
 
 void TeamSelWidget::setNonInteractive()
@@ -99,6 +100,7 @@
       break;
     }
   }
+  emit setEnabledGameStart(curPlayingTeams.size()>1);
 }
 
 void TeamSelWidget::netTeamStatusChanged(const HWTeam& team)
@@ -168,6 +170,8 @@
     pAddTeams->resize(pAddTeams->size().width(), szh.height());
     pRemoveTeams->resize(pRemoveTeams->size().width(), szh1.height());
   }
+
+  emit setEnabledGameStart(curPlayingTeams.size()>1);
 }
 
 void TeamSelWidget::addScrArea(FrameTeams* pfteams, QColor color, int maxHeight)