mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
Fix opening the preferences window when not connected to a daemon
This commit is contained in:
parent
c4c6d1d511
commit
bdcc0047a8
1 changed files with 4 additions and 2 deletions
|
@ -418,7 +418,8 @@ class Preferences(component.Component):
|
||||||
"spin_seed_time_ratio_limit",
|
"spin_seed_time_ratio_limit",
|
||||||
"spin_seed_time_limit",
|
"spin_seed_time_limit",
|
||||||
"spin_cache_size",
|
"spin_cache_size",
|
||||||
"spin_cache_expiry"
|
"spin_cache_expiry",
|
||||||
|
"button_cache_refresh"
|
||||||
]
|
]
|
||||||
for t in ("peer", "web_seed", "tracker", "dht"):
|
for t in ("peer", "web_seed", "tracker", "dht"):
|
||||||
core_widget_list.append("spin_proxy_port_%s" % t)
|
core_widget_list.append("spin_proxy_port_%s" % t)
|
||||||
|
@ -489,7 +490,8 @@ class Preferences(component.Component):
|
||||||
self.glade.get_widget("rad_ntf_tls").set_active(True)
|
self.glade.get_widget("rad_ntf_tls").set_active(True)
|
||||||
|
|
||||||
## Cache tab ##
|
## Cache tab ##
|
||||||
self.__update_cache_status()
|
if client.connected():
|
||||||
|
self.__update_cache_status()
|
||||||
|
|
||||||
## Plugins tab ##
|
## Plugins tab ##
|
||||||
all_plugins = self.all_plugins
|
all_plugins = self.all_plugins
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue