Hugh McMaster : regedit: Allow deletion of selected values without focus.
Alexandre Julliard
julliard at winehq.org
Tue Jun 8 16:34:26 CDT 2021
Module: wine
Branch: master
Commit: c1733540d67ebceef7bd98a03955c5f41a654200
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c1733540d67ebceef7bd98a03955c5f41a654200
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Tue Jun 8 22:55:31 2021 +1000
regedit: Allow deletion of selected values without focus.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/regedit/framewnd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index 14f4d711ec1..bb843a89af4 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -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);
More information about the wine-cvs
mailing list