mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[RAPPS] Proxy fields default state fix (CORE-16853) (#2594)
* Fix for CORE-16853 https://jira.reactos.org/browse/CORE-16853 Co-authored-by: Sylvain Deverre <[email protected]>
This commit is contained in:
co-authored by
Sylvain Deverre
parent
0d077c3068
commit
779f31a731
@@ -69,11 +69,16 @@ namespace
|
||||
|
||||
CheckRadioButton(hDlg, IDC_PROXY_DEFAULT, IDC_USE_PROXY, IDC_PROXY_DEFAULT + Info->Proxy);
|
||||
|
||||
if (IDC_PROXY_DEFAULT + Info->Proxy == IDC_USE_PROXY)
|
||||
if (Info->Proxy == 0)
|
||||
{
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_PROXY_SERVER), TRUE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_NO_PROXY_FOR), TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_PROXY_SERVER), FALSE);
|
||||
EnableWindow(GetDlgItem(hDlg, IDC_NO_PROXY_FOR), FALSE);
|
||||
}
|
||||
|
||||
SetWindowTextW(GetDlgItem(hDlg, IDC_PROXY_SERVER), Info->szProxyServer);
|
||||
SetWindowTextW(GetDlgItem(hDlg, IDC_NO_PROXY_FOR), Info->szNoProxyFor);
|
||||
|
||||
Reference in New Issue
Block a user