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:
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;
|
||||
}
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user