Bug fix: Show online numbers correctly when hiding offline chums
This commit is contained in:
parent
3774a80632
commit
d73ef0cab7
1 changed files with 4 additions and 0 deletions
|
@ -886,6 +886,8 @@ class chumArea(RightClickTree):
|
|||
break
|
||||
if not self.mainwindow.config.showEmptyGroups():
|
||||
self.hideEmptyGroups()
|
||||
if self.mainwindow.config.showOnlineNumbers():
|
||||
self.showOnlineNumbers()
|
||||
return r
|
||||
def updateMood(self, handle, mood):
|
||||
hideoff = self.mainwindow.config.hideOfflineChums()
|
||||
|
@ -902,6 +904,8 @@ class chumArea(RightClickTree):
|
|||
elif mood.name() == "offline" and \
|
||||
len(chums) > 0:
|
||||
for c in chums:
|
||||
if (hasattr(c, 'mood')):
|
||||
c.setMood(mood)
|
||||
self.takeItem(c)
|
||||
chums = []
|
||||
for c in chums:
|
||||
|
|
Loading…
Reference in a new issue