Commit 5aaa77c9 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

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

parent 6d896961
...@@ -138,7 +138,7 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType, ...@@ -138,7 +138,7 @@ static void AddEntryToList(HWND hwndLV, LPWSTR Name, DWORD dwValType,
item.pszText = Name ? Name : LPSTR_TEXTCALLBACKW; item.pszText = Name ? Name : LPSTR_TEXTCALLBACKW;
item.cchTextMax = Name ? lstrlenW(item.pszText) : 0; item.cchTextMax = Name ? lstrlenW(item.pszText) : 0;
if (bHighlight) { if (bHighlight) {
item.stateMask = item.state = LVIS_FOCUSED | LVIS_SELECTED; item.stateMask = item.state = LVIS_FOCUSED;
} }
switch (dwValType) switch (dwValType)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment