skin refresh bugfix

This commit is contained in:
doitux
2009-04-03 08:35:10 +00:00
parent 1aec46e3e2
commit 2e28dfc83b
+4
View File
@@ -607,6 +607,9 @@ void gameTableImpl::applySettings(settingsDialogImpl* mySettingsDialog) {
//Check for anti-peek mode //Check for anti-peek mode
if(myStartWindow->getSession()->getCurrentGame()) { if(myStartWindow->getSession()->getCurrentGame()) {
// check if human player is already active
if(myStartWindow->getSession()->getCurrentGame()->getSeatsList()->front()->getMyActiveStatus()) {
QPixmap tempCardsPixmapArray[2]; QPixmap tempCardsPixmapArray[2];
int tempCardsIntArray[2]; int tempCardsIntArray[2];
@@ -626,6 +629,7 @@ void gameTableImpl::applySettings(settingsDialogImpl* mySettingsDialog) {
holeCardsArray[0][1]->setPixmap(tempCardsPixmapArray[1],FALSE); holeCardsArray[0][1]->setPixmap(tempCardsPixmapArray[1],FALSE);
} }
} }
}
refreshGameTableStyle(); refreshGameTableStyle();