From cb6347ebace1e064c12201efc858db75608d6906 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 5 Mar 2006 21:32:51 +0000 Subject: [PATCH] typo. Fixes #1654 --- src/roster_window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 18056ada5..7b54c0116 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2726,7 +2726,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid) # Make sure contact was in the group contact.groups.remove(group) group_iter = self.get_group_iter(group, account) - if model.iter_n_children(group_iter) == 0: + if model.iter_n_children(group_iter) == 1: # this was the only child model.remove(group_iter) # delete the group if it is empty (need to look for offline users too)