1
0

Fix greenaddress modality and centring issues

This commit is contained in:
Neil Booth
2015-12-23 20:13:17 +09:00
parent 0ecf2565ce
commit 37a49752eb
2 changed files with 6 additions and 9 deletions

View File

@@ -2193,8 +2193,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
d.exec_()
def password_dialog(self, msg=None, parent=None):
if parent == None:
parent = self
parent = parent or self
d = WindowModalDialog(parent, _("Enter Password"))
pw = QLineEdit()
pw.setEchoMode(2)