commit 863cc399951a7d816ac648b1266063c3fb4171c3
parent 2f13e4eb8583266310719d2ea025b4020ec54e34
Author: ThomasV <thomasv@electrum.org>
Date: Sat, 5 Dec 2020 22:16:50 +0100
kivy: dismiss invoice_dialog before delete (fix #6816)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/electrum/gui/kivy/uix/dialogs/invoice_dialog.py b/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()