Bug fix: Proxy button not enabled for SOCKS5

https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1247
This commit is contained in:
Allen Cui authored and GitHub committed 2020-12-08 14:12:21 +08:00
1 parent bf1201aa26
commit 501fe217ff
1 file changed
+3
+3
View File
@@ -113,6 +113,7 @@ UINT SmProxyDlg(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, void *param)
case R_DIRECT_TCP:
case R_HTTPS:
case R_SOCKS:
case R_SOCKS5:
if (IsChecked(hWnd, R_HTTPS))
{
t->ProxyType = PROXY_HTTP;
@@ -19624,6 +19625,7 @@ UINT SmEditSettingDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
case R_DIRECT_TCP:
case R_HTTPS:
case R_SOCKS:
case R_SOCKS5:
case R_SERVER_ADMIN:
case R_HUB_ADMIN:
case C_HUBNAME:
@@ -19655,6 +19657,7 @@ UINT SmEditSettingDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam, voi
case R_DIRECT_TCP:
case R_HTTPS:
case R_SOCKS:
case R_SOCKS5:
if (HIWORD(wParam) == BN_CLICKED)
{
CmEnumHubStart(hWnd, &p->Setting->ClientOption);