Only update avatars when in a game.

This commit is contained in:
lotodore
2007-11-01 19:27:02 +00:00
parent e9604d0177
commit e89be5687a
@@ -460,6 +460,8 @@ void gameLobbyDialogImpl::addConnectedPlayer(unsigned playerId, QString playerNa
}
checkPlayerQuantity();
if (inGame)
refreshConnectedPlayerAvatars();
}
@@ -474,6 +476,8 @@ void gameLobbyDialogImpl::updatePlayer(unsigned playerId, QString newPlayerName)
}
++it;
}
if (inGame)
refreshConnectedPlayerAvatars();
}