mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05: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:
parent
196fc3ea8d
commit
429fe02ac8
5
config.c
5
config.c
@ -596,6 +596,11 @@ static void portfwd_handler(union control *ctrl, void *dlg,
|
|||||||
p += strlen(p) + 1;
|
p += strlen(p) + 1;
|
||||||
}
|
}
|
||||||
dlg_update_done(ctrl, dlg);
|
dlg_update_done(ctrl, dlg);
|
||||||
|
} else if (ctrl == pfd->direction) {
|
||||||
|
/*
|
||||||
|
* Default is Local.
|
||||||
|
*/
|
||||||
|
dlg_radiobutton_set(ctrl, dlg, 0);
|
||||||
}
|
}
|
||||||
} else if (event == EVENT_ACTION) {
|
} else if (event == EVENT_ACTION) {
|
||||||
if (ctrl == pfd->addbutton) {
|
if (ctrl == pfd->addbutton) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user