From 863cc399951a7d816ac648b1266063c3fb4171c3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 5 Dec 2020 22:16:50 +0100 Subject: [PATCH] kivy: dismiss invoice_dialog before delete (fix #6816) --- electrum/gui/kivy/uix/dialogs/invoice_dialog.py | 2 +- 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 index 18b1b4c24..f8b80c46b 100644 --- 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()