Primitivus: fixed contact list clear
This commit is contained in:
parent
007f12d2ae
commit
d3e0f39311
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ class ContactList(urwid.WidgetWrap, QuickContactList):
|
|||
"""clear all the contact list"""
|
||||
self.groups={}
|
||||
self.selected = None
|
||||
self.unselectAll()
|
||||
self.frame.body = self.__buildList()
|
||||
self.host.redraw()
|
||||
|
||||
def replace(self, jid, groups=[None]):
|
||||
"""add a contact to the list if doesn't exist, else update it"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue