mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-09 15:18:06 -05:00
Restore 'Local' proxy type in config UI.
It was accidentally disabled in 2a26ebd0d5.
This commit is contained in:
parent
42dcd465ab
commit
e6df50ea6b
@ -39,7 +39,7 @@ void unix_setup_config_box(struct controlbox *b, bool midsession, int protocol)
|
||||
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL);
|
||||
for (i = 0; i < s->ncontrols; i++) {
|
||||
c = s->ctrls[i];
|
||||
if (c->generic.type == CTRL_RADIO &&
|
||||
if (c->generic.type == CTRL_LISTBOX &&
|
||||
c->generic.handler == proxy_type_handler) {
|
||||
c->generic.context.i |= PROXY_UI_FLAG_LOCAL;
|
||||
break;
|
||||
|
@ -362,7 +362,7 @@ void win_setup_config_box(struct controlbox *b, HWND *hwndp, bool has_help,
|
||||
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL);
|
||||
for (i = 0; i < s->ncontrols; i++) {
|
||||
c = s->ctrls[i];
|
||||
if (c->generic.type == CTRL_RADIO &&
|
||||
if (c->generic.type == CTRL_LISTBOX &&
|
||||
c->generic.handler == proxy_type_handler) {
|
||||
c->generic.context.i |= PROXY_UI_FLAG_LOCAL;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user