comctl32: Refresh listview after sorting.

This commit is contained in:
Piotr Caban 2011-06-20 12:46:49 +02:00 committed by Alexandre Julliard
parent 1a67903b04
commit 02c224edf9
1 changed files with 1 additions and 3 deletions

View File

@ -9130,9 +9130,7 @@ static BOOL LISTVIEW_SortItems(LISTVIEW_INFO *infoPtr, PFNLVCOMPARE pfnCompare,
/* I believe nHotItem should be left alone, see LISTVIEW_ShiftIndices */
/* refresh the display */
if (infoPtr->uView != LV_VIEW_ICON && infoPtr->uView != LV_VIEW_SMALLICON)
LISTVIEW_InvalidateList(infoPtr);
LISTVIEW_InvalidateList(infoPtr);
return TRUE;
}