1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Make sure one of the Local/Remote port forwarding radio buttons

actually starts off selected!

[originally from svn r2973]
This commit is contained in:
Simon Tatham 2003-03-22 09:32:49 +00:00
parent 196fc3ea8d
commit 429fe02ac8

View File

@ -596,6 +596,11 @@ static void portfwd_handler(union control *ctrl, void *dlg,
p += strlen(p) + 1;
}
dlg_update_done(ctrl, dlg);
} else if (ctrl == pfd->direction) {
/*
* Default is Local.
*/
dlg_radiobutton_set(ctrl, dlg, 0);
}
} else if (event == EVENT_ACTION) {
if (ctrl == pfd->addbutton) {