Commit 314c94e1 authored by Zhao Yi's avatar Zhao Yi Committed by Alexandre Julliard

comctl32/listview: Reset bNoItemMetrics to make sure that listview items can be arranged correctly.

Signed-off-by: 's avatarZhao Yi <zhaoyi@uniontech.com>
parent 4fd56146
...@@ -5590,6 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy) ...@@ -5590,6 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy)
LISTVIEW_UpdateScroll(infoPtr); LISTVIEW_UpdateScroll(infoPtr);
} }
LISTVIEW_InvalidateList(infoPtr); LISTVIEW_InvalidateList(infoPtr);
infoPtr->bNoItemMetrics = TRUE;
return TRUE; return TRUE;
} }
......
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