From 6ca9f148d4b4ed533a830f08d15b3823af91cc3f Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 4 Aug 2015 18:48:38 +0200 Subject: [PATCH] fix config var names for ssl preferences --- gui/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 index bbf2aa78..1efb02d8 100644 --- 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']