1
0

Modality and centring fixes for QR codes

This commit is contained in:
Neil Booth
2015-12-23 18:42:01 +09:00
parent 9484b6371f
commit 6f4d4b9a1e
3 changed files with 11 additions and 13 deletions

View File

@@ -2023,10 +2023,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
def show_qrcode(self, data, title = _("QR code")):
def show_qrcode(self, data, title = _("QR code"), parent=None):
if not data:
return
d = QRDialog(data, self, title)
d = QRDialog(data, parent or self, title)
d.exec_()
def show_public_keys(self, address):