on create, use the server already picked by the interface
authorthomasv <thomasv@gitorious>
Tue, 16 Oct 2012 07:27:58 +0000 (09:27 +0200)
committerthomasv <thomasv@gitorious>
Tue, 16 Oct 2012 07:27:58 +0000 (09:27 +0200)
lib/gui_qt.py

index 63e477f..1ca5f0a 100644 (file)
@@ -1356,11 +1356,11 @@ class ElectrumWindow(QMainWindow):
                 status = _("Connected to")+" %s\n%d blocks"%(interface.host, wallet.blocks)
             else:
                 status = _("Not connected")
-            server = interface.server
         else:
             import random
             status = _("Please choose a server.")
-            server = random.choice( DEFAULT_SERVERS )
+
+        server = interface.server
 
         if not wallet.interface.servers:
             servers_list = []