mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-25 11:48:32 +00:00
[GTKUI] Fix keyerror showing prefs
* Fix the single_proxy ui to True as unlikely any users using <=0.15 and need to have different proxy type settings.
This commit is contained in:
parent
7661127b9d
commit
38d7b7cdfd
1 changed files with 2 additions and 5 deletions
|
@ -318,11 +318,8 @@ class Preferences(component.Component):
|
||||||
}
|
}
|
||||||
# Add proxy stuff
|
# Add proxy stuff
|
||||||
|
|
||||||
# Display workaround for single proxy in libtorrent >v0.16
|
# Display workaround for single proxy in libtorrent >= v0.16
|
||||||
try:
|
lt_single_proxy = True
|
||||||
lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
|
|
||||||
except AttributeError:
|
|
||||||
lt_single_proxy = False
|
|
||||||
|
|
||||||
for t in ("peer", "web_seed", "tracker", "dht"):
|
for t in ("peer", "web_seed", "tracker", "dht"):
|
||||||
if lt_single_proxy and not t == "peer":
|
if lt_single_proxy and not t == "peer":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue