diff --git a/src/gui/qt/gametable/gametableimpl.cpp b/src/gui/qt/gametable/gametableimpl.cpp index 32df22b3..b27e691e 100755 --- a/src/gui/qt/gametable/gametableimpl.cpp +++ b/src/gui/qt/gametable/gametableimpl.cpp @@ -3137,9 +3137,6 @@ void gameTableImpl::localGameModification() //Set the playing mode to "manual" radioButton_manualAction->click(); - //clear log - textBrowser_Log->clear(); - //restore saved windows geometry restoreGameTableGeometry(); @@ -3181,9 +3178,6 @@ void gameTableImpl::networkGameModification() //Set the playing mode to "manual" radioButton_manualAction->click(); - //clear log - textBrowser_Log->clear(); - //restore saved windows geometry restoreGameTableGeometry(); @@ -3804,3 +3798,10 @@ void gameTableImpl::closeMessageBoxes() myUniversalMessageDialog->close(); } + +void gameTableImpl::hide() +{ + //clear log + textBrowser_Log->clear(); + QWidget::hide(); +} diff --git a/src/gui/qt/gametable/gametableimpl.h b/src/gui/qt/gametable/gametableimpl.h index 267225b7..3905c2b9 100755 --- a/src/gui/qt/gametable/gametableimpl.h +++ b/src/gui/qt/gametable/gametableimpl.h @@ -328,6 +328,8 @@ public slots: void showWarningAutoFoldInRankingGame(unsigned); void closeMessageBoxes(); + void hide(); + private: boost::shared_ptr myServerGuiInterface;