mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-29 15:42:03 +02:00
qt: add proxy to options overridden if necessary.
If proxy is disabled in the gui but enabled via the command line, it needs to be added to the override list.
This commit is contained in:
@@ -119,6 +119,8 @@ void OptionsModel::Init()
|
||||
// Only try to set -proxy, if user has enabled fUseProxy
|
||||
if (settings.value("fUseProxy").toBool() && !SoftSetArg("-proxy", settings.value("addrProxy").toString().toStdString()))
|
||||
addOverriddenOption("-proxy");
|
||||
else if(!settings.value("fUseProxy").toBool() && !GetArg("-proxy", "").empty())
|
||||
addOverriddenOption("-proxy");
|
||||
|
||||
// Display
|
||||
if (!settings.contains("language"))
|
||||
|
Reference in New Issue
Block a user