From 8e95bc79cf4d82c537047aa69ea955e2a099cb16 Mon Sep 17 00:00:00 2001 From: gg Date: Mon, 12 Jan 2026 22:01:54 -0500 Subject: [PATCH] disconnect node when user explicitly requests --- src/utils/nodes.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/nodes.cpp b/src/utils/nodes.cpp index 12bd749a..beedb42a 100644 --- a/src/utils/nodes.cpp +++ b/src/utils/nodes.cpp @@ -275,6 +275,10 @@ void Nodes::autoConnect(bool forceReconnect) { return; } + if (conf()->get(Config::syncPaused).toBool() && conf()->get(Config::syncPausedAlsoDisconnectNode).toBool()) { + return; + } + // this function is responsible for automatically connecting to a daemon. if (m_wallet == nullptr || !m_enableAutoconnect) { return; -- 2.52.0