From dfffa165659fe63b5c00c8050d77cbad7fa58641 Mon Sep 17 00:00:00 2001 From: doitux Date: Mon, 11 Jun 2007 13:23:51 +0000 Subject: [PATCH] refresh avatar not for network fix --- src/gui/qt/mainwindow/mainwindowimpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 4439f9f2..be85d822 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -802,7 +802,7 @@ void mainWindowImpl::callSettingsDialog() { refreshPlayerName(); } - if(mySession->getCurrentGame()) { + if(mySession->getCurrentGame() && !mySession->isNetworkClientRunning()) { HandInterface *currentHand = mySession->getCurrentGame()->getCurrentHand(); currentHand->getPlayerArray()[0]->setMyAvatar(mySettingsDialog->pushButton_HumanPlayerAvatar->getMyLink().toUtf8().constData());