mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +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,6 +490,7 @@ 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 ##
|
||||||
|
if client.connected():
|
||||||
self.__update_cache_status()
|
self.__update_cache_status()
|
||||||
|
|
||||||
## Plugins tab ##
|
## Plugins tab ##
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue