fix libtorrent 1.0.0 compatibility wrt. proxy settings
This commit is contained in:
parent
f511e4b3ec
commit
bf94bf347d
|
@ -320,7 +320,7 @@ class ProxyGroup(Frame):
|
|||
l = Label(self, text="Proxy type", size_hint_align=ALIGN_LEFT)
|
||||
l.show()
|
||||
ptype = Hoversel(parent, size_hint_align=FILL_HORIZ)
|
||||
ptype.text = ps.type.name
|
||||
ptype.text = str(lt.proxy_type.values[ps.type])
|
||||
for n in lt.proxy_type.names.keys():
|
||||
ptype.item_add(n, callback=lambda x, y, z=n: ptype.text_set(z))
|
||||
ptype.show()
|
||||
|
|
Loading…
Reference in New Issue