mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-24 02:11:06 +00:00
Fix #1822
Only query the core for the known accounts if connected to it.
This commit is contained in:
parent
dd3f78bd36
commit
f6826a4f48
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user