diff frontends/src/quick_frontend/quick_contact_list.py @ 1410:e2e75c3c7c7b

quick_frontend, primitivus: fixes a couple of issues: - chat: notification was raising an error when you just entered the room and self.nick is None - quick_widget: deleting a widget was modifying a dict while looping on it + unselect widget when it's being deleted
author souliane <souliane@mailoo.org>
date Thu, 16 Apr 2015 17:17:28 +0200
parents 3265a2639182
children 176de79c8c39
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_contact_list.py	Thu Apr 16 14:57:57 2015 +0200
+++ b/frontends/src/quick_frontend/quick_contact_list.py	Thu Apr 16 17:17:28 2015 +0200
@@ -249,6 +249,9 @@
         self._cache.clear()
         self._groups.clear()
         self._specials.clear()
+        self._special_extras.clear()
+        self._roster.clear()
+        self._alerts.clear()
         self.update()
 
     def setContact(self, entity, groups=None, attributes=None, in_roster=False):