From 917f6fc3a5b0994d36b90a5986ea298d80fa4715 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sun, 23 Nov 2008 18:25:27 +0000 Subject: [PATCH] Prevent a group from being hidden when its renamed in roster. --- 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 d190b804a..6732e0239 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2710,8 +2710,8 @@ class RosterWindow: for jid in gajim.contacts.get_jid_list(acc): contact = gajim.contacts.get_first_contact_from_jid(acc, jid) if old_text in contact.groups: - self.remove_contact_from_groups(jid, acc, [old_text,]) self.add_contact_to_groups(jid, acc, [new_text,]) + self.remove_contact_from_groups(jid, acc, [old_text,]) def on_canceled(): if 'rename' in gajim.interface.instances: