changeset 1200:f9091f4e04f0

browser (contact_group): fixed bad property name used in closeAndSave: bad property name was used in closeAndSave resulting in a crash when used wanted to save modifications. fix 309
author Goffi <goffi@goffi.org>
date Tue, 09 Jul 2019 20:41:50 +0200
parents b300eaec53b6
children f1f03b08e1f4
files browser/sat_browser/contact_group.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/browser/sat_browser/contact_group.py	Tue Jul 09 20:20:46 2019 +0200
+++ b/browser/sat_browser/contact_group.py	Tue Jul 09 20:41:50 2019 +0200
@@ -224,7 +224,7 @@
 
     def closeAndSave(self):
         """Call bridge methods to save the changes and close the dialog"""
-        old_groups_by_entity = contact_list.JIDDict(self.host.contact_list.roster_groups_by_entity)
+        old_groups_by_entity = contact_list.JIDDict(self.host.contact_list.roster_groups_by_entities)
         old_entities = old_groups_by_entity.keys()
         result = {jid.JID(item): keys for item, keys in self.groups.getKeysByItem().iteritems()}
         groups_by_entity = contact_list.JIDDict(result)