Hugh McMaster : regedit: Do not select/ highlight a listview item on refresh.
Module: wine Branch: master Commit: 5aaa77c9bb70e2669e1f1b8282bec7c62b16326e URL: http://source.winehq.org/git/wine.git/?a=commit;h=5aaa77c9bb70e2669e1f1b8282... Author: Hugh McMaster <hugh.mcmaster(a)outlook.com> Date: Wed Mar 29 05:25:56 2017 +0000 regedit: Do not select/highlight a listview item on refresh. Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/regedit/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index b9366e5..fc234d4 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -138,7 +138,7 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, item.pszText = Name ? Name : LPSTR_TEXTCALLBACKW; item.cchTextMax = Name ? lstrlenW(item.pszText) : 0; if (bHighlight) { - item.stateMask = item.state = LVIS_FOCUSED | LVIS_SELECTED; + item.stateMask = item.state = LVIS_FOCUSED; } switch (dwValType) {
participants (1)
-
Alexandre Julliard