mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-29 00:11:36 +00:00
fix #1986
This commit is contained in:
parent
15546d817c
commit
bccdab758b
1 changed files with 2 additions and 7 deletions
|
@ -1655,15 +1655,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
||||||
grid.addWidget(line1, 1, 1)
|
grid.addWidget(line1, 1, 1)
|
||||||
grid.addWidget(QLabel(_("Name")), 2, 0)
|
grid.addWidget(QLabel(_("Name")), 2, 0)
|
||||||
grid.addWidget(line2, 2, 1)
|
grid.addWidget(line2, 2, 1)
|
||||||
|
|
||||||
vbox.addLayout(grid)
|
vbox.addLayout(grid)
|
||||||
vbox.addLayout(Buttons(CancelButton(d), OkButton(d)))
|
vbox.addLayout(Buttons(CancelButton(d), OkButton(d)))
|
||||||
|
if d.exec_():
|
||||||
if not d.exec_():
|
self.set_contact(unicode(line2.text()), str(line1.text()))
|
||||||
return
|
|
||||||
|
|
||||||
if self.set_contact(unicode(line2.text()), str(line1.text())):
|
|
||||||
self.tabs.setCurrentIndex(4)
|
|
||||||
|
|
||||||
def show_master_public_keys(self):
|
def show_master_public_keys(self):
|
||||||
dialog = WindowModalDialog(self, "Master Public Keys")
|
dialog = WindowModalDialog(self, "Master Public Keys")
|
||||||
|
|
Loading…
Add table
Reference in a new issue