From 2995bc8b37a4264bfdb3acef7975964dbfb8b7e1 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Fri, 10 Nov 2023 11:59:22 +0100 Subject: [PATCH] qml: fix dialog not closing if dialog is shown/hidden more than once most dialogs are destroyed when closed, therefore not hitting this bug, but e.g. ChannelOpenProgressDialog is reused. --- electrum/gui/qml/components/controls/ElDialog.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qml/components/controls/ElDialog.qml b/electrum/gui/qml/components/controls/ElDialog.qml index 1f9b1c3cd..1a3abd4f1 100644 --- a/electrum/gui/qml/components/controls/ElDialog.qml +++ b/electrum/gui/qml/components/controls/ElDialog.qml @@ -49,6 +49,7 @@ Dialog { if (opened) { app.activeDialogs.push(abstractdialog) _wasOpened = true + _result = false } else { if (!_wasOpened) return