mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 15:48:06 -05:00
Fix duplicated shortcut on Windows SSH/Auth panel.
As of df3a21d97b, this panel has two "Browse..." buttons, and is the first to do so. On Windows, the shortcut for this file chooser button was hardcoded to 'w', causing an assertion failure whenever switching to the Auth panel. I've just removed the shortcut -- there are others near enough that it's easy to reach the "Browse..." button with Tab.
This commit is contained in:
parent
36d40febed
commit
3bb7e6ba9e
@ -1668,8 +1668,7 @@ void winctrl_layout(struct dlgparam *dp, struct winctrls *wc,
|
||||
ctrl->fileselect.shortcut);
|
||||
shortcuts[nshortcuts++] = ctrl->fileselect.shortcut;
|
||||
editbutton(&pos, escaped, base_id, base_id+1,
|
||||
"Bro&wse...", base_id+2);
|
||||
shortcuts[nshortcuts++] = 'w';
|
||||
"Browse...", base_id+2);
|
||||
sfree(escaped);
|
||||
break;
|
||||
case CTRL_FONTSELECT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user