mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
fix #5702
This commit is contained in:
parent
d1f4804962
commit
0a6ac7c61a
1 changed files with 1 additions and 2 deletions
|
@ -1741,7 +1741,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
||||||
return
|
return
|
||||||
if not preview:
|
if not preview:
|
||||||
self.wallet.save_invoice(invoice)
|
self.wallet.save_invoice(invoice)
|
||||||
self.do_clear()
|
|
||||||
self.invoice_list.update()
|
self.invoice_list.update()
|
||||||
self.do_pay_invoice(invoice, preview)
|
self.do_pay_invoice(invoice, preview)
|
||||||
|
|
||||||
|
@ -1828,9 +1827,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger):
|
||||||
|
|
||||||
def sign_done(success):
|
def sign_done(success):
|
||||||
if success:
|
if success:
|
||||||
|
self.do_clear()
|
||||||
if not tx.is_complete():
|
if not tx.is_complete():
|
||||||
self.show_transaction(tx)
|
self.show_transaction(tx)
|
||||||
self.do_clear()
|
|
||||||
else:
|
else:
|
||||||
self.broadcast_transaction(tx, message)
|
self.broadcast_transaction(tx, message)
|
||||||
self.sign_tx_with_password(tx, sign_done, password)
|
self.sign_tx_with_password(tx, sign_done, password)
|
||||||
|
|
Loading…
Add table
Reference in a new issue