projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure one of the Local/Remote port forwarding radio buttons
[u/mdw/putty]
/
config.c
diff --git
a/config.c
b/config.c
index
784268c
..
185529c
100644
(file)
--- 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) {