git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
da4b974
)
on create, use the server already picked by the interface
author
thomasv
<thomasv@gitorious>
Tue, 16 Oct 2012 07:27:58 +0000 (09:27 +0200)
committer
thomasv
<thomasv@gitorious>
Tue, 16 Oct 2012 07:27:58 +0000 (09:27 +0200)
lib/gui_qt.py
patch
|
blob
|
history
diff --git
a/lib/gui_qt.py
b/lib/gui_qt.py
index
63e477f
..
1ca5f0a
100644
(file)
--- 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 = []