From e96e512a17b8abbb96f198c5d908bb411a141808 Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Mon, 30 Jun 2014 20:45:41 +0200 Subject: [PATCH] Update usercount when on group exit --- group.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/group.cpp b/group.cpp index 0f42d873f..f85857208 100644 --- a/group.cpp +++ b/group.cpp @@ -90,6 +90,7 @@ void Group::addPeer(int peerId, QString name) void Group::removePeer(int peerId) { peers.remove(peerId); + nPeers--; widget->onUserListChanged(); chatForm->onUserListChanged(); }