From: gg Date: Tue, 13 Jan 2026 03:01:54 +0000 (-0500) Subject: disconnect node when user explicitly requests X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=8e95bc79cf4d82c537047aa69ea955e2a099cb16;p=gamesguru%2Ffeather.git disconnect node when user explicitly requests --- 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;