Browse Source

Change password QT dialog window modal

283
Neil Booth 9 years ago
parent
commit
4c36987845
  1. 6
      gui/qt/password_dialog.py

6
gui/qt/password_dialog.py

@ -136,14 +136,12 @@ def update_password_strength(pw_strength_label,password):
class PasswordDialog(QDialog): class PasswordDialog(WindowModalDialog):
def __init__(self, wallet, parent): def __init__(self, wallet, parent):
QDialog.__init__(self, parent) WindowModalDialog.__init__(self, parent,_("Set Password"))
self.setModal(1)
self.wallet = wallet self.wallet = wallet
self.parent = parent self.parent = parent
self.setWindowTitle(_("Set Password"))
msg = (_('Your wallet is encrypted. Use this dialog to change your password.') + ' '\ msg = (_('Your wallet is encrypted. Use this dialog to change your password.') + ' '\
+_('To disable wallet encryption, enter an empty new password.')) \ +_('To disable wallet encryption, enter an empty new password.')) \
if wallet.use_encryption else _('Your wallet keys are not encrypted') if wallet.use_encryption else _('Your wallet keys are not encrypted')

Loading…
Cancel
Save