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>
This commit is contained in:
parent
6d89696121
commit
5aaa77c9bb
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue