regedit: Allow deletion of selected values without focus.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bcd2b99d95
commit
c1733540d6
|
@ -178,7 +178,7 @@ static void UpdateMenuItems(HMENU hMenu) {
|
|||
selection = (HTREEITEM)SendMessageW(hwndTV, TVM_GETNEXTITEM, TVGN_CARET, 0);
|
||||
keyName = GetItemPath(hwndTV, selection, &hRootKey);
|
||||
index = SendMessageW(g_pChildWnd->hListWnd, LVM_GETNEXTITEM, -1,
|
||||
MAKELPARAM(LVNI_FOCUSED | LVNI_SELECTED, 0));
|
||||
MAKELPARAM(LVNI_SELECTED, 0));
|
||||
|
||||
update_expand_or_collapse_item(hwndTV, selection, hMenu);
|
||||
update_modify_items(hMenu, index);
|
||||
|
|
Loading…
Reference in New Issue