Only query the core for the known accounts if connected to it.
This commit is contained in:
Pedro Algarvio 2011-04-30 20:45:15 +01:00
parent dd3f78bd36
commit f6826a4f48

View File

@ -882,6 +882,7 @@ class Preferences(component.Component):
try:
if model.get_value(row, 1) == _("Daemon"):
# Let's see update the accounts related stuff
if client.connected():
self._get_accounts_tab_data()
self.notebook.set_current_page(model.get_value(row, 0))
except TypeError: