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
|
break
|
||||||
if not self.mainwindow.config.showEmptyGroups():
|
if not self.mainwindow.config.showEmptyGroups():
|
||||||
self.hideEmptyGroups()
|
self.hideEmptyGroups()
|
||||||
|
if self.mainwindow.config.showOnlineNumbers():
|
||||||
|
self.showOnlineNumbers()
|
||||||
return r
|
return r
|
||||||
def updateMood(self, handle, mood):
|
def updateMood(self, handle, mood):
|
||||||
hideoff = self.mainwindow.config.hideOfflineChums()
|
hideoff = self.mainwindow.config.hideOfflineChums()
|
||||||
|
@ -902,6 +904,8 @@ class chumArea(RightClickTree):
|
||||||
elif mood.name() == "offline" and \
|
elif mood.name() == "offline" and \
|
||||||
len(chums) > 0:
|
len(chums) > 0:
|
||||||
for c in chums:
|
for c in chums:
|
||||||
|
if (hasattr(c, 'mood')):
|
||||||
|
c.setMood(mood)
|
||||||
self.takeItem(c)
|
self.takeItem(c)
|
||||||
chums = []
|
chums = []
|
||||||
for c in chums:
|
for c in chums:
|
||||||
|
|
Loading…
Reference in a new issue