mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
code cleanup
This commit is contained in:
parent
3e014d05c1
commit
1face99346
1 changed files with 1 additions and 4 deletions
|
@ -1756,10 +1756,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
layout.setRowStretch(3,1)
|
layout.setRowStretch(3,1)
|
||||||
|
|
||||||
hbox = QHBoxLayout()
|
hbox = QHBoxLayout()
|
||||||
if sign:
|
b = QPushButton(_("Sign") if sign else _("Verify"))
|
||||||
b = QPushButton(_("Sign"))
|
|
||||||
elif not sign:
|
|
||||||
b = QPushButton(_("Verify"))
|
|
||||||
hbox.addWidget(b)
|
hbox.addWidget(b)
|
||||||
f = self.do_sign if sign else self.do_verify
|
f = self.do_sign if sign else self.do_verify
|
||||||
b.clicked.connect(lambda: f(address_e, message_e, signature_e))
|
b.clicked.connect(lambda: f(address_e, message_e, signature_e))
|
||||||
|
|
Loading…
Add table
Reference in a new issue