X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a06a0632374ecf14aca3e0025a0a985f24fdaac4..07e4d76d02456f343dfa7a8628c46ebdc72a2d44:/config.c diff --git a/config.c b/config.c index 784268c7..185529cf 100644 --- a/config.c +++ b/config.c @@ -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) {