new session if host changed
This commit is contained in:
@@ -1024,9 +1024,12 @@ class BitcoinGUI:
|
|||||||
show_message("error")
|
show_message("error")
|
||||||
return
|
return
|
||||||
|
|
||||||
wallet.host = host
|
if host!= wallet.host or port!=wallet.port:
|
||||||
wallet.port = port
|
wallet.host = host
|
||||||
wallet.save()
|
wallet.port = port
|
||||||
|
wallet.save()
|
||||||
|
self.is_connected = False
|
||||||
|
wallet.new_session()
|
||||||
|
|
||||||
|
|
||||||
def main(self):
|
def main(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user