quick_frontend, primitivus (contact_list): ContactList widget must now call postInit() when ready, to avoid being registered before being constructed
This commit is contained in:
parent
e32bd443a3
commit
9456417949
1 changed files with 5 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ class ContactList(PrimitivusWidget, QuickContactList):
|
|||
urwid.connect_signal(self, 'change', on_change, user_data)
|
||||
self.host.addListener('notification', self.onNotification, [self.profile])
|
||||
self.host.addListener('notificationsClear', self.onNotification, [self.profile])
|
||||
self.postInit()
|
||||
|
||||
def update(self, entities=None, type_=None, profile=None):
|
||||
"""Update display, keep focus"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue