1
0

update network settings dialog of the kivy GUI

This commit is contained in:
ThomasV
2017-07-10 13:51:13 +02:00
parent 92b392a56b
commit 73b023e967
10 changed files with 277 additions and 261 deletions

View File

@@ -1040,6 +1040,13 @@ class Network(util.DaemonThread):
else:
raise BaseException('blockchain not found', index)
if self.interface:
server = self.interface.server
host, port, protocol, proxy, auto_connect = self.get_parameters()
host, port, protocol = server.split(':')
self.set_parameters(host, port, protocol, proxy, auto_connect)
def get_local_height(self):
return self.blockchain().height()