move textBrowser_Log->clear(); to gametableimpl::hide()
This commit is contained in:
@@ -3137,9 +3137,6 @@ void gameTableImpl::localGameModification()
|
|||||||
//Set the playing mode to "manual"
|
//Set the playing mode to "manual"
|
||||||
radioButton_manualAction->click();
|
radioButton_manualAction->click();
|
||||||
|
|
||||||
//clear log
|
|
||||||
textBrowser_Log->clear();
|
|
||||||
|
|
||||||
//restore saved windows geometry
|
//restore saved windows geometry
|
||||||
restoreGameTableGeometry();
|
restoreGameTableGeometry();
|
||||||
|
|
||||||
@@ -3181,9 +3178,6 @@ void gameTableImpl::networkGameModification()
|
|||||||
//Set the playing mode to "manual"
|
//Set the playing mode to "manual"
|
||||||
radioButton_manualAction->click();
|
radioButton_manualAction->click();
|
||||||
|
|
||||||
//clear log
|
|
||||||
textBrowser_Log->clear();
|
|
||||||
|
|
||||||
//restore saved windows geometry
|
//restore saved windows geometry
|
||||||
restoreGameTableGeometry();
|
restoreGameTableGeometry();
|
||||||
|
|
||||||
@@ -3804,3 +3798,10 @@ void gameTableImpl::closeMessageBoxes()
|
|||||||
|
|
||||||
myUniversalMessageDialog->close();
|
myUniversalMessageDialog->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gameTableImpl::hide()
|
||||||
|
{
|
||||||
|
//clear log
|
||||||
|
textBrowser_Log->clear();
|
||||||
|
QWidget::hide();
|
||||||
|
}
|
||||||
|
|||||||
@@ -328,6 +328,8 @@ public slots:
|
|||||||
void showWarningAutoFoldInRankingGame(unsigned);
|
void showWarningAutoFoldInRankingGame(unsigned);
|
||||||
void closeMessageBoxes();
|
void closeMessageBoxes();
|
||||||
|
|
||||||
|
void hide();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
boost::shared_ptr<GuiInterface> myServerGuiInterface;
|
boost::shared_ptr<GuiInterface> myServerGuiInterface;
|
||||||
|
|||||||
Reference in New Issue
Block a user