bugfix for #203 local game menu bug

This commit is contained in:
doitux
2013-10-12 00:41:46 +02:00
parent 0dcc43812d
commit dfea01882b
+3 -3
View File
@@ -3543,6 +3543,7 @@ void gameTableImpl::localGameModification()
//let the SoundEventHandler know that there is a new game //let the SoundEventHandler know that there is a new game
mySoundEventHandler->newGameStarts(); mySoundEventHandler->newGameStarts();
spectatorIcon->hide();
} }
void gameTableImpl::networkGameModification() void gameTableImpl::networkGameModification()
@@ -3592,7 +3593,7 @@ void gameTableImpl::networkGameModification()
myGameTableStyle->setBreakButtonStyle(pushButton_break,0); myGameTableStyle->setBreakButtonStyle(pushButton_break,0);
#endif #endif
blinkingStartButtonAnimationTimer->stop(); blinkingStartButtonAnimationTimer->stop();
spectatorIcon->show();
refreshSpectatorsDisplay(); refreshSpectatorsDisplay();
} }
if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) { if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) {
@@ -3601,6 +3602,7 @@ void gameTableImpl::networkGameModification()
#else #else
pushButton_break->hide(); pushButton_break->hide();
#endif #endif
spectatorIcon->hide();
} }
//Set the playing mode to "manual" //Set the playing mode to "manual"
#ifdef GUI_800x480 #ifdef GUI_800x480
@@ -3627,8 +3629,6 @@ void gameTableImpl::networkGameModification()
//let the SoundEventHandler know that there is a new game //let the SoundEventHandler know that there is a new game
mySoundEventHandler->newGameStarts(); mySoundEventHandler->newGameStarts();
//check if there are spectators
} }
void gameTableImpl::mouseOverFlipCards(bool front) void gameTableImpl::mouseOverFlipCards(bool front)