@ -528,7 +528,10 @@ class ElectrumWindow(QMainWindow):
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.'ifwallet.use_encryptionelse'Your wallet keys are not encrypted'
ifparent:
msg='Your wallet is encrypted. Use this dialog to change your password.\nTo disable wallet encryption, enter an empty new password.'ifwallet.use_encryptionelse'Your wallet keys are not encrypted'
else:
msg="Please choose a password to encrypt your wallet keys.\nLeave these fields empty if you want to disable encryption."
vbox.addWidget(QLabel(msg))
grid=QGridLayout()
@ -652,7 +655,7 @@ class ElectrumWindow(QMainWindow):
@staticmethod
defnetwork_dialog(wallet,parent=None):
ifTrue:
ifparent:
ifwallet.interface.is_connected:
status="Connected to %s.\n%d blocks\nresponse time: %f"%(wallet.interface.host,wallet.interface.blocks,wallet.interface.rtime)
else:
@ -704,7 +707,6 @@ class ElectrumWindow(QMainWindow):