1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-21 13:05:04 -05:00

Bah. Stop the Proxy panel appearing empty in Change Settings. One

day I'll make a reasonably big checkin and _not_ have six tiny mop-
up issues after it...

[originally from svn r3169]
This commit is contained in:
Simon Tatham 2003-05-07 13:14:48 +00:00
parent 8460ecd27d
commit 6b362191f1

View File

@ -130,9 +130,9 @@ void unix_setup_config_box(struct controlbox *b, int midsession, void *win)
* Unix supports a local-command proxy. This also means we must * Unix supports a local-command proxy. This also means we must
* adjust the text on the `Telnet command' control. * adjust the text on the `Telnet command' control.
*/ */
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL); if (!midsession) {
{
int i; int i;
s = ctrl_getset(b, "Connection/Proxy", "basics", NULL);
for (i = 0; i < s->ncontrols; i++) { for (i = 0; i < s->ncontrols; i++) {
c = s->ctrls[i]; c = s->ctrls[i];
if (c->generic.type == CTRL_RADIO && if (c->generic.type == CTRL_RADIO &&