From af2ed4633160aea96c0e6575ba818ab0170e46ff Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 13 Feb 2012 19:12:24 +0100 Subject: [PATCH] fix --- client/gui_qt.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/gui_qt.py b/client/gui_qt.py index a0cb0647..94dd8288 100644 --- a/client/gui_qt.py +++ b/client/gui_qt.py @@ -535,12 +535,13 @@ class ElectrumWindow(QMainWindow): conf_pw = QLineEdit() conf_pw.setEchoMode(2) + vbox = QVBoxLayout() + msg = 'Your wallet is encrypted. Use this dialog to change your password.\nTo disable wallet encryption, enter an empty new password.' if self.wallet.use_encryption else 'Your wallet keys are not encrypted' + vbox.addWidget(QLabel(msg)) + grid = QGridLayout() grid.setSpacing(8) - msg = 'Your wallet is encrypted. Use this dialog to change your password.\nTo disable wallet encryption, enter an empty new password.' if self.wallet.use_encryption else 'Your wallet keys are not encrypted' - grid.addWidget(QLabel(msg), 0, 0, 1, 2) - if self.wallet.use_encryption: grid.addWidget(QLabel('Password'), 1, 0) grid.addWidget(pw, 1, 1) @@ -550,6 +551,7 @@ class ElectrumWindow(QMainWindow): grid.addWidget(QLabel('Confirm Password'), 3, 0) grid.addWidget(conf_pw, 3, 1) + vbox.addLayout(grid) vbox.addLayout(self.ok_cancel_buttons(d)) d.setLayout(vbox)