SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
3 changed files with
2 additions and
4 deletions
-
electrum/gui/kivy/main_window.py
-
electrum/gui/kivy/uix/dialogs/settings.py
-
electrum/gui/kivy/uix/ui_screens/server.kv
|
@ -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() |
|
|