fix kivy: follow-up 3d424077fd
This commit is contained in:
parent
061231494d
commit
3e3d387161
@ -272,7 +272,7 @@ class ElectrumWindow(App):
|
|||||||
self.server_host = net_params.host
|
self.server_host = net_params.host
|
||||||
self.server_port = net_params.port
|
self.server_port = net_params.port
|
||||||
self.auto_connect = net_params.auto_connect
|
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.plugins = kwargs.get('plugins', [])
|
||||||
self.gui_object = kwargs.get('gui_object', None)
|
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.gui.kivy.i18n import _
|
||||||
from electrum.plugin import run_hook
|
from electrum.plugin import run_hook
|
||||||
from electrum import coinchooser
|
from electrum import coinchooser
|
||||||
from electrum.network import NetworkProxy
|
|
||||||
|
|
||||||
from .choice_dialog import ChoiceDialog
|
from .choice_dialog import ChoiceDialog
|
||||||
|
|
||||||
|
|||||||
@ -57,7 +57,6 @@ Popup:
|
|||||||
text: _('OK')
|
text: _('OK')
|
||||||
on_release:
|
on_release:
|
||||||
net_params = app.network.get_parameters()
|
net_params = app.network.get_parameters()
|
||||||
net_params = net_params._replace(host=str(root.ids.host.text),
|
net_params = net_params._replace(host=str(root.ids.host.text), port=str(root.ids.port.text))
|
||||||
port=str(root.ids.port.text))
|
|
||||||
app.network.set_parameters(net_params)
|
app.network.set_parameters(net_params)
|
||||||
nd.dismiss()
|
nd.dismiss()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user