From dfea01882bd23a7e15cf7375888f811be36140c3 Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 12 Oct 2013 00:41:46 +0200 Subject: [PATCH] bugfix for #203 local game menu bug --- src/gui/qt/gametable/gametableimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index 464e7cf4..c86db229 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -3543,6 +3543,7 @@ void gameTableImpl::localGameModification() //let the SoundEventHandler know that there is a new game mySoundEventHandler->newGameStarts(); + spectatorIcon->hide(); } void gameTableImpl::networkGameModification() @@ -3592,7 +3593,7 @@ void gameTableImpl::networkGameModification() myGameTableStyle->setBreakButtonStyle(pushButton_break,0); #endif blinkingStartButtonAnimationTimer->stop(); - + spectatorIcon->show(); refreshSpectatorsDisplay(); } if(myStartWindow->getSession()->getGameType() == Session::GAME_TYPE_NETWORK) { @@ -3601,6 +3602,7 @@ void gameTableImpl::networkGameModification() #else pushButton_break->hide(); #endif + spectatorIcon->hide(); } //Set the playing mode to "manual" #ifdef GUI_800x480 @@ -3627,8 +3629,6 @@ void gameTableImpl::networkGameModification() //let the SoundEventHandler know that there is a new game mySoundEventHandler->newGameStarts(); - - //check if there are spectators } void gameTableImpl::mouseOverFlipCards(bool front)