Update online numbers on drag-drop

This commit is contained in:
Kiooeht 2011-04-08 01:27:17 -07:00
parent 668a87af7e
commit b1fb029e66

View file

@ -568,6 +568,8 @@ class chumArea(RightClickTree):
self.mainwindow.chumdb.setGroup(chumLabel.chum.handle, group)
self.takeItem(chumLabel)
self.addItem(chumLabel)
if self.mainwindow.config.showOnlineNumbers():
self.showOnlineNumbers()
def chumoptionsmenu(self):
self.optionsMenu = self.chumoptions
@ -651,6 +653,7 @@ class chumArea(RightClickTree):
if self.openGroups[i]:
child_1.setExpanded(True)
def showOnlineNumbers(self):
if hasattr(self, 'groups'):
self.hideOnlineNumbers()
totals = {'Chums': 0}
online = {'Chums': 0}