Mercurial > libervia-backend
diff frontends/src/quick_frontend/quick_contact_list.py @ 1429:798e5e38516b
quick_frontend (quick_app): properly fixed roster loss:
commit 6adf1b0be609 which was causing issues in Libervia or when a profile was already connected
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 22 May 2015 22:31:37 +0200 |
parents | 0e518415d03a |
children | ba09cd879343 |
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_contact_list.py Fri Apr 24 16:10:46 2015 +0200 +++ b/frontends/src/quick_frontend/quick_contact_list.py Fri May 22 22:31:37 2015 +0200 @@ -135,7 +135,11 @@ return result def fill(self): - """Get all contacts from backend, and fill the widget""" + """Get all contacts from backend, and fill the widget + + Contacts will be cleared before refilling them + """ + self.clearContacts() def gotContacts(contacts): for contact in contacts: self.host.newContactHandler(*contact, profile=self.profile)