Skip to content
Snippets Groups Projects
Commit 9197cbf6 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

update opened chat window when we change nick in information window. Fixes #1599

parent 60a4b3cf
No related branches found
No related tags found
No related merge requests found
......@@ -150,6 +150,15 @@ def on_close_button_clicked(self, widget):
gajim.interface.roster.tree.get_model().set_value(i, 1, new_name)
gajim.connections[self.account].update_contact(self.contact.jid,
self.contact.name, self.contact.groups)
# Update opened chat window
ctrl = gajim.interface.msg_win_mgr.get_control(self.contact.jid,
self.account)
if ctrl:
ctrl.update_ui()
win = gajim.interface.msg_win_mgr.get_window(self.contact.jid,
self.account)
win.redraw_tab(ctrl)
win.show_title()
self.window.destroy()
def on_clear_button_clicked(self, widget):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment