fix 2 typo. Fixes #1514
This commit is contained in:
parent
1ee455edb7
commit
766f6054fe
|
@ -148,7 +148,7 @@ class EditGroupsDialog:
|
||||||
return
|
return
|
||||||
iter = model.iter_next(iter)
|
iter = model.iter_next(iter)
|
||||||
self.changes_made = True
|
self.changes_made = True
|
||||||
model.append((group, True))
|
model.append((group, True, False))
|
||||||
self.add_group(group)
|
self.add_group(group)
|
||||||
self.update_contact()
|
self.update_contact()
|
||||||
self.init_list() # Re-draw list to sort new item
|
self.init_list() # Re-draw list to sort new item
|
||||||
|
@ -185,7 +185,7 @@ class EditGroupsDialog:
|
||||||
continue
|
continue
|
||||||
if g in groups:
|
if g in groups:
|
||||||
continue
|
continue
|
||||||
groups[g] = 0
|
groups[g] = 0
|
||||||
for g in contact.groups:
|
for g in contact.groups:
|
||||||
groups[g] += 1
|
groups[g] += 1
|
||||||
group_list = groups.keys()
|
group_list = groups.keys()
|
||||||
|
|
Loading…
Reference in New Issue