1
0

fix kivy: follow-up 3d424077fd

This commit is contained in:
SomberNight
2018-09-10 15:18:11 +02:00
parent 061231494d
commit 3e3d387161
3 changed files with 2 additions and 4 deletions

View File

@@ -272,7 +272,7 @@ class ElectrumWindow(App):
self.server_host = net_params.host
self.server_port = net_params.port
self.auto_connect = net_params.auto_connect
self.proxy_config = net_params.proxy_config if net_params.proxy_config else {}
self.proxy_config = net_params.proxy if net_params.proxy else {}
self.plugins = kwargs.get('plugins', [])
self.gui_object = kwargs.get('gui_object', None)

View File

@@ -8,7 +8,6 @@ from electrum.i18n import languages
from electrum.gui.kivy.i18n import _
from electrum.plugin import run_hook
from electrum import coinchooser
from electrum.network import NetworkProxy
from .choice_dialog import ChoiceDialog

View File

@@ -57,7 +57,6 @@ Popup:
text: _('OK')
on_release:
net_params = app.network.get_parameters()
net_params = net_params._replace(host=str(root.ids.host.text),
port=str(root.ids.port.text))
net_params = net_params._replace(host=str(root.ids.host.text), port=str(root.ids.port.text))
app.network.set_parameters(net_params)
nd.dismiss()