From 6e576f2a0871e0807654bea039b954fbf8295b55 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 19 Dec 2023 18:37:53 +0100 Subject: [PATCH] qml: fix cancelling network wizard not closing app --- electrum/gui/qml/components/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qml/components/main.qml b/electrum/gui/qml/components/main.qml index 0df1fec3e..a318a54a9 100644 --- a/electrum/gui/qml/components/main.qml +++ b/electrum/gui/qml/components/main.qml @@ -475,6 +475,7 @@ ApplicationWindow // without completed serverConnectWizard we can't start dialog.rejected.connect(function() { app.visible = false + AppController.wantClose = true Qt.callLater(Qt.quit) }) dialog.accepted.connect(function() {