commit 8220b0f743e52b1cdb19bc4dedc58258700eeb7c
parent da4b974dfd1a902e862becf86375227fc41d770f
Author: thomasv <thomasv@gitorious>
Date: Tue, 16 Oct 2012 09:27:58 +0200
on create, use the server already picked by the interface
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -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 = []