Commit c220fed8 authored by dkirov's avatar dkirov
Browse files

fixes #1827

parent e95cd815
......@@ -765,7 +765,8 @@ class RosterWindow:
if len(gajim.connections) == 0: # user has no accounts
advanced_menuitem.set_sensitive(False)
elif len(gajim.connections) == 1:
advanced_menuitem_menu = self.get_and_connect_advanced_menuitem_menu(account)
advanced_menuitem_menu = self.get_and_connect_advanced_menuitem_menu(
gajim.connections.keys()[0])
self.advanced_menus.append(advanced_menuitem_menu)
self._add_history_manager_menuitem(advanced_menuitem_menu)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment