mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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
1 changed files with 2 additions and 1 deletions
|
@ -882,7 +882,8 @@ class Preferences(component.Component):
|
|||
try:
|
||||
if model.get_value(row, 1) == _("Daemon"):
|
||||
# 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))
|
||||
except TypeError:
|
||||
pass
|
||||
|
|
Loading…
Add table
Reference in a new issue