changeset 912:1ced5b522ae2

browser side(contact list): fixed calls to getGroupData
author Goffi <goffi@goffi.org>
date Wed, 10 Aug 2016 23:22:49 +0200 (2016-08-10)
parents 997cf25e785c
children 58f611481e6d
files src/browser/sat_browser/contact_list.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py	Wed Aug 10 22:51:18 2016 +0200
+++ b/src/browser/sat_browser/contact_list.py	Wed Aug 10 23:22:49 2016 +0200
@@ -212,14 +212,14 @@
 
     def onMouseEnter(self, sender):
         if isinstance(sender, GroupLabel):
-            jids = self.getGroupData(sender.group, "jids")
+            jids = self.contact_list.getGroupData(sender.group, "jids")
             for contact in self._contacts_panel.getBoxes():
                 if contact.jid in jids:
                     contact.label.addStyleName("selected")
 
     def onMouseLeave(self, sender):
         if isinstance(sender, GroupLabel):
-            jids = self.getGroupData(sender.group, "jids")
+            jids = self.contact_list.getGroupData(sender.group, "jids")
             for contact in self._contacts_panel.getBoxes():
                 if contact.jid in jids:
                     contact.label.removeStyleName("selected")