comctl32: Refresh listview after sorting.
This commit is contained in:
parent
1a67903b04
commit
02c224edf9
|
@ -9130,9 +9130,7 @@ static BOOL LISTVIEW_SortItems(LISTVIEW_INFO *infoPtr, PFNLVCOMPARE pfnCompare,
|
||||||
/* I believe nHotItem should be left alone, see LISTVIEW_ShiftIndices */
|
/* I believe nHotItem should be left alone, see LISTVIEW_ShiftIndices */
|
||||||
|
|
||||||
/* refresh the display */
|
/* refresh the display */
|
||||||
if (infoPtr->uView != LV_VIEW_ICON && infoPtr->uView != LV_VIEW_SMALLICON)
|
LISTVIEW_InvalidateList(infoPtr);
|
||||||
LISTVIEW_InvalidateList(infoPtr);
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue