Update online numbers on drag-drop
This commit is contained in:
parent
668a87af7e
commit
b1fb029e66
1 changed files with 28 additions and 25 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue