archive paid invoices in the history tab

This commit is contained in:
ThomasV
2017-03-15 15:32:14 +01:00
parent 8e90d6a4e5
commit 6185f94de4
5 changed files with 28 additions and 25 deletions

View File

@@ -729,7 +729,7 @@ class ElectrumWindow(App):
if self.send_screen:
self.send_screen.do_clear()
if pr:
pr.set_paid(tx.txid())
self.wallet.invoices.set_paid(pr, tx.txid())
self.wallet.invoices.save()
self.update_tab('invoices')
else: