Update proxy comobobox in accounts/connections

After a new proxy was added/removed by ManageProxies the combobox in
accounts/connections gets updated
This commit is contained in:
Markus Wintermann 2018-04-14 22:01:58 +02:00
parent 93af68f81c
commit a86abf2cf9
1 changed files with 2 additions and 2 deletions

View File

@ -113,10 +113,10 @@ class AccountsWindow(Gtk.ApplicationWindow):
self.stack.set_visible_child(page)
def update_proxy_list(self):
page = self.stack.get_child_by_name('connetion')
page = self.stack.get_child_by_name('connection')
if page is None:
return
page.options['proxy'].update_values()
page.listbox.get_option('proxy').update_values()
def check_relogin(self):
for account in self.need_relogin: