Bug fix: Proxy button not enabled for SOCKS5
@@ -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);
