Re-add: Update online numbers on drag-drop

This commit is contained in:
Kiooeht 2011-04-08 01:27:17 -07:00
parent 1e4268ebcb
commit 150e72f75d

View file

@ -595,6 +595,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
@ -678,6 +680,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}