Make the test port button insensitive when not connected to a daemon

This commit is contained in:
Andrew Resch 2009-07-13 19:45:30 +00:00
parent 0f453eb8f1
commit fbba1795ad
1 changed files with 2 additions and 1 deletions

View File

@ -419,7 +419,8 @@ class Preferences(component.Component):
"spin_seed_time_limit",
"spin_cache_size",
"spin_cache_expiry",
"button_cache_refresh"
"button_cache_refresh",
"btn_testport"
]
for t in ("peer", "web_seed", "tracker", "dht"):
core_widget_list.append("spin_proxy_port_%s" % t)