regedit: Do not select/highlight a listview item on refresh.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Hugh McMaster 2017-03-29 05:25:56 +00:00 committed by Alexandre Julliard
parent 6d89696121
commit 5aaa77c9bb
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{