QTfrontend/ui/widget/teamselect.cpp
changeset 8430 5a5c34a75e1a
parent 8424 225ede46e3dc
child 8432 f2d57e987ba9
--- a/QTfrontend/ui/widget/teamselect.cpp	Wed Jan 23 23:57:47 2013 +0400
+++ b/QTfrontend/ui/widget/teamselect.cpp	Wed Jan 23 16:35:26 2013 -0500
@@ -237,6 +237,8 @@
         pRemoveTeams->resize(pRemoveTeams->size().width(), szh1.height());
     }
 
+    repaint();
+
     emit setEnabledGameStart(curPlayingTeams.size()>1);
 }
 
@@ -297,7 +299,9 @@
     m_curNotPlayingTeams.clear();
 
     foreach(HWTeam team, teamslist)
-    addTeam(team);
+        addTeam(team);
+
+    repaint();
 }
 
 bool TeamSelWidget::isPlaying(const HWTeam &team) const
@@ -320,3 +324,10 @@
     //team.setColor(framePlaying->getNextColor());
     emit acceptRequested(team);
 }
+
+void TeamSelWidget::repaint()
+{
+    QWidget::repaint();
+    framePlaying->repaint();
+    frameDontPlaying->repaint();
+}
\ No newline at end of file