LCL, Treeview: redraw nodes after sorting them. Issue #23697

git-svn-id: trunk@39898 -
This commit is contained in:
juha 2013-01-19 19:33:02 +00:00
parent 7db10c0527
commit 12fb700d61

View File

@ -1715,6 +1715,8 @@ begin
if not Assigned(SortProc) then SortProc:=@DefaultTreeViewSort;
Sort(FItems, FCount, SortProc, true);
end;
if (TreeView <> nil) then
Include(TreeView.FStates, tvsTopsNeedsUpdate);
Result:=true;
end;