git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
717a4ab
)
fix: set auto-cycle to None only during wallet creation
author
thomasv
<thomasv@gitorious>
Thu, 1 Aug 2013 14:39:45 +0000 (16:39 +0200)
committer
thomasv
<thomasv@gitorious>
Thu, 1 Aug 2013 14:39:45 +0000 (16:39 +0200)
electrum
patch
|
blob
|
history
gui/network_dialog.py
patch
|
blob
|
history
diff --git
a/electrum
b/electrum
index
206aa19
..
1646d89
100755
(executable)
--- a/
electrum
+++ b/
electrum
@@
-160,6
+160,9
@@
if __name__ == '__main__':
# select a server.
s = gui.network_dialog()
+ if s is None:
+ config.set_key("server", None, True)
+ config.set_key('auto_cycle', False, True)
interface.start(wait = False)
interface.send([('server.peers.subscribe',[])])
diff --git
a/gui/network_dialog.py
b/gui/network_dialog.py
index
dfac40d
..
b246b7d
100644
(file)
--- a/
gui/network_dialog.py
+++ b/
gui/network_dialog.py
@@
-212,8
+212,6
@@
class NetworkDialog(QDialog):
def do_exec(self):
if not self.exec_():
- self.config.set_key("server", None, True)
- self.config.set_key('auto_cycle', False, True)
return
server = ':'.join([str( self.server_host.text() ),