Fix #1822
Only query the core for the known accounts if connected to it.
This commit is contained in:
parent
dd3f78bd36
commit
f6826a4f48
@ -882,7 +882,8 @@ class Preferences(component.Component):
|
|||||||
try:
|
try:
|
||||||
if model.get_value(row, 1) == _("Daemon"):
|
if model.get_value(row, 1) == _("Daemon"):
|
||||||
# Let's see update the accounts related stuff
|
# Let's see update the accounts related stuff
|
||||||
self._get_accounts_tab_data()
|
if client.connected():
|
||||||
|
self._get_accounts_tab_data()
|
||||||
self.notebook.set_current_page(model.get_value(row, 0))
|
self.notebook.set_current_page(model.get_value(row, 0))
|
||||||
except TypeError:
|
except TypeError:
|
||||||
pass
|
pass
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user