fix kivy: follow-up 3d424077fd
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user