1
0

Merge branch 'trezor_plugin' of github.com:m0mchil/electrum into m0mchil-trezor_plugin

This commit is contained in:
ThomasV
2014-08-08 14:56:06 +02:00
3 changed files with 424 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ from util import *
def make_password_dialog(self, wallet, msg):
def make_password_dialog(self, wallet, msg, new_pass=True):
self.pw = QLineEdit()
self.pw.setEchoMode(2)
@@ -58,8 +58,8 @@ def make_password_dialog(self, wallet, msg):
if wallet and wallet.use_encryption:
grid.addWidget(QLabel(_('Password')), 0, 0)
grid.addWidget(self.pw, 0, 1)
grid.addWidget(QLabel(_('New Password')), 1, 0)
grid.addWidget(QLabel(_('New Password') if new_pass else _('Password')), 1, 0)
grid.addWidget(self.new_pw, 1, 1)
grid.addWidget(QLabel(_('Confirm Password')), 2, 0)