electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 6ca9f148d4b4ed533a830f08d15b3823af91cc3f
parent 476d198be9656572deedb5ec071be68ff516d3b0
Author: ThomasV <thomasv@gitorious>
Date:   Tue,  4 Aug 2015 18:48:38 +0200

fix config var names for ssl preferences

Diffstat:
Mgui/qt/main_window.py | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -2608,16 +2608,16 @@ class ElectrumWindow(QMainWindow): msg = _('Chain of SSL certificates, used to create BIP70 payment requests. ')\ +_('Put your certificate at the top of the list, and the root CA at the end') SSL_cert_label = HelpLabel(_('SSL certificate') + ':', msg) - SSL_cert = self.config.get('ssl_cert','') + SSL_cert = self.config.get('ssl_chain','') SSL_cert_e = QLineEdit(SSL_cert) - SSL_cert_e.editingFinished.connect(lambda: self.config.set_key('ssl_cert', str(SSL_cert_e.text()))) + SSL_cert_e.editingFinished.connect(lambda: self.config.set_key('ssl_chain', str(SSL_cert_e.text()))) id_widgets.append((SSL_cert_label, SSL_cert_e)) msg = _('Path to your SSL private key, used to sign BIP70 payment requests.') SSL_key_label = HelpLabel(_('SSL private key') + ':', msg) - SSL_key = self.config.get('ssl_key','') + SSL_key = self.config.get('ssl_privkey','') SSL_key_e = QLineEdit(SSL_key) - SSL_key_e.editingFinished.connect(lambda: self.config.set_key('ssl_key', str(SSL_key_e.text()))) + SSL_key_e.editingFinished.connect(lambda: self.config.set_key('ssl_privkey', str(SSL_key_e.text()))) id_widgets.append((SSL_key_label, SSL_key_e)) units = ['BTC', 'mBTC', 'bits']