diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2011-07-20 02:08:13 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2011-07-20 02:08:13 +0400 |
commit | 38743188eadc4efd1c55c91c58855e0372d96b28 (patch) | |
tree | 983e3d1b3477fa0ccd20ad4456818a0b4267b772 | |
parent | a1e9a8d3a3f36aba70da03a50877d8c39cc5ad11 (diff) |
cleanup gc_control.error_dialog attribute when we close the error dialog. See #6925
-rw-r--r-- | src/gui_interface.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py index 234190760..dd5102aa5 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1122,6 +1122,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 @@ -1131,6 +1132,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: |