From 18ee90c2b8247e17cae0294f11e3f23cd26e40b6 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 22 Jul 2022 10:06:19 +0200 Subject: [PATCH] qml: destroy dialogs instantiated from Send on close --- electrum/gui/qml/components/Send.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/Send.qml b/electrum/gui/qml/components/Send.qml index 972b76a38..d04464a55 100644 --- a/electrum/gui/qml/components/Send.qml +++ b/electrum/gui/qml/components/Send.qml @@ -247,12 +247,15 @@ Pane { wallet: Daemon.currentWallet canRbf: true } + onClosed: destroy() } } Component { id: lightningPaymentProgressDialog - LightningPaymentProgressDialog {} + LightningPaymentProgressDialog { + onClosed: destroy() + } } Component { @@ -279,6 +282,7 @@ Pane { Daemon.currentWallet.pay_lightning_invoice(invoice.key) } } + onClosed: destroy() } }