bugfix for #0000022: Notification window kept open when game finishes

This commit is contained in:
doitux
2010-12-13 18:16:01 +00:00
parent 7087c38b89
commit 41b0186279
3 changed files with 20 additions and 8 deletions
@@ -505,6 +505,7 @@ void startWindowImpl::showClientDialog()
else if (mySession->getGameType() == Session::GAME_TYPE_INTERNET)
{
if (myGuiInterface->getMyW()->isVisible())
myGuiInterface->getMyW()->closeMessageBoxes();
myGuiInterface->getMyW()->hide();
if (!this->isVisible())
this->show();