new session if host changed

This commit is contained in:
ThomasV 2011-12-04 12:49:47 +01:00
parent 13265c922d
commit eaec64c3ef
1 changed files with 6 additions and 3 deletions

View File

@ -1024,9 +1024,12 @@ class BitcoinGUI:
show_message("error")
return
wallet.host = host
wallet.port = port
wallet.save()
if host!= wallet.host or port!=wallet.port:
wallet.host = host
wallet.port = port
wallet.save()
self.is_connected = False
wallet.new_session()
def main(self):