mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ static void UpdateMenuItems(HMENU hMenu) {
|
||||||
selection = (HTREEITEM)SendMessageW(hwndTV, TVM_GETNEXTITEM, TVGN_CARET, 0);
|
selection = (HTREEITEM)SendMessageW(hwndTV, TVM_GETNEXTITEM, TVGN_CARET, 0);
|
||||||
keyName = GetItemPath(hwndTV, selection, &hRootKey);
|
keyName = GetItemPath(hwndTV, selection, &hRootKey);
|
||||||
index = SendMessageW(g_pChildWnd->hListWnd, LVM_GETNEXTITEM, -1,
|
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_expand_or_collapse_item(hwndTV, selection, hMenu);
|
||||||
update_modify_items(hMenu, index);
|
update_modify_items(hMenu, index);
|
||||||
|
|
Loading…
Reference in a new issue