[RAPPS] Addendum to previous commit, fix condition
authorSylvain Deverre <deverre.sylv@gmail.com>
Mon, 20 Apr 2020 16:45:37 +0000 (18:45 +0200)
committerSylvain Deverre <deverre.sylv@gmail.com>
Mon, 20 Apr 2020 16:45:37 +0000 (18:45 +0200)
base/applications/rapps/settingsdlg.cpp

index ccde6a9..ed94362 100644 (file)
@@ -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);