From 0a271bb106170dfb14aeda5ec25587a29d33be41 Mon Sep 17 00:00:00 2001 From: Sylvain Deverre Date: Mon, 20 Apr 2020 18:45:37 +0200 Subject: [PATCH] [RAPPS] Addendum to previous commit, fix condition --- base/applications/rapps/settingsdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/applications/rapps/settingsdlg.cpp b/base/applications/rapps/settingsdlg.cpp index ccde6a94f07..ed94362d1c0 100644 --- a/base/applications/rapps/settingsdlg.cpp +++ b/base/applications/rapps/settingsdlg.cpp @@ -69,7 +69,7 @@ namespace CheckRadioButton(hDlg, IDC_PROXY_DEFAULT, IDC_USE_PROXY, IDC_PROXY_DEFAULT + Info->Proxy); - if (Info->Proxy == 0) + if (Info->Proxy == 2) { EnableWindow(GetDlgItem(hDlg, IDC_PROXY_SERVER), TRUE); EnableWindow(GetDlgItem(hDlg, IDC_NO_PROXY_FOR), TRUE);