Browse Source

kivy: dismiss invoice_dialog before delete (fix #6816)

patch-4
ThomasV 4 years ago
parent
commit
863cc39995
  1. 2
      electrum/gui/kivy/uix/dialogs/invoice_dialog.py

2
electrum/gui/kivy/uix/dialogs/invoice_dialog.py

@ -131,8 +131,8 @@ class InvoiceDialog(Factory.Popup):
from .question import Question
def cb(result):
if result:
self.app.wallet.delete_invoice(self.key)
self.dismiss()
self.app.wallet.delete_invoice(self.key)
self.app.send_screen.update()
d = Question(_('Delete invoice?'), cb)
d.open()

Loading…
Cancel
Save