Mercurial > libervia-backend
diff frontends/src/primitivus/contact_list.py @ 2017:7aa58b7a47e2
quick_frontend, primitivus (contact_list): ContactList widget must now call postInit() when ready, to avoid being registered before being constructed
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 24 Jul 2016 17:56:18 +0200 |
parents | f09562b0704d |
children | 35762e9ce8b9 |
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py Sun Jul 24 17:56:14 2016 +0200 +++ b/frontends/src/primitivus/contact_list.py Sun Jul 24 17:56:18 2016 +0200 @@ -51,6 +51,7 @@ 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"""