From dbbd3fe11138e83d4e912040c90071ce1ebb4648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 14 Aug 2017 15:02:55 +0200 Subject: [PATCH] Fix broken menus when renaming an account --- gajim/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gajim/config.py b/gajim/config.py index bab1e7501..51d548fa7 100644 --- a/gajim/config.py +++ b/gajim/config.py @@ -2156,6 +2156,9 @@ class AccountsWindow: gajim.interface.roster.setup_and_draw_roster() self.init_accounts() self.select_account(new_name) + gajim.app.remove_account_actions(old_name) + gajim.app.add_account_actions(new_name) + gui_menu_builder.build_accounts_menu() title = _('Rename Account') message = _('Enter a new name for account %s') % self.current_account