From 42e323f73502c06fa35f64a6d2a60581ab86e1b2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 20 Jul 2011 00:08:13 +0200 Subject: [PATCH] cleanup gc_control.error_dialog attribute when we close the error dialog. See #6925 --- src/gui_interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui_interface.py b/src/gui_interface.py index c4a311b4d..e2e4ed255 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -251,6 +251,7 @@ class Interface: def on_ok(text): gajim.connections[account].join_gc(nick, room_jid, text) gajim.gc_passwords[room_jid] = text + gc_control.error_dialog = None def on_cancel(): # get and destroy window @@ -260,6 +261,7 @@ class Interface: win = self.msg_win_mgr.get_window(room_jid, account) ctrl = self.msg_win_mgr.get_gc_control(room_jid, account) win.remove_tab(ctrl, 3) + gc_control.error_dialog = None gc_control = self.msg_win_mgr.get_gc_control(room_jid, account) if gc_control: -- 2.11.4.GIT