1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 11:32:48 -05:00

winpgnt: add context help for 'Add Key (encrypted)' button.

I wrote a docs section, but forgot to link it to the context help.
This commit is contained in:
Simon Tatham
2021-04-04 09:34:50 +01:00
parent 0f61291f80
commit 9e3d78bddb
3 changed files with 4 additions and 1 deletions

View File

@ -172,6 +172,7 @@
#define WINHELP_CTX_pageant_keylist "pageant-mainwin-keylist"
#define WINHELP_CTX_pageant_addkey "pageant-mainwin-addkey"
#define WINHELP_CTX_pageant_remkey "pageant-mainwin-remkey"
#define WINHELP_CTX_pageant_deferred "pageant-deferred-decryption"
#define WINHELP_CTX_pgpfingerprints "pgpkeys"
#define WINHELP_CTX_puttygen_general "pubkey-puttygen"
#define WINHELP_CTX_puttygen_keytype "puttygen-keytype"

View File

@ -659,6 +659,8 @@ static INT_PTR CALLBACK KeyListProc(HWND hwnd, UINT msg,
case IDC_KEYLIST_LISTBOX: topic = WINHELP_CTX_pageant_keylist; break;
case IDC_KEYLIST_ADDKEY: topic = WINHELP_CTX_pageant_addkey; break;
case IDC_KEYLIST_REMOVE: topic = WINHELP_CTX_pageant_remkey; break;
case IDC_KEYLIST_ADDKEY_ENC:
topic = WINHELP_CTX_pageant_deferred; break;
}
if (topic) {
launch_help(hwnd, topic);