mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-03 06:58:42 +00:00
Fix #2109 : Proxy settings not being cleared by setting None
This commit is contained in:
parent
67450f43b3
commit
e7a2a8dcee
1 changed files with 8 additions and 9 deletions
|
@ -471,7 +471,6 @@ class PreferencesManager(component.Component):
|
|||
|
||||
def _on_set_proxies(self, key, value):
|
||||
for k, v in value.items():
|
||||
if v["type"]:
|
||||
proxy_settings = lt.proxy_settings()
|
||||
proxy_settings.type = lt.proxy_type(v["type"])
|
||||
proxy_settings.username = str(v["username"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue