mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-24 01:59:43 +02:00
LCL, Treeview: redraw nodes after sorting them. Issue #23697
git-svn-id: trunk@39898 -
This commit is contained in:
parent
7db10c0527
commit
12fb700d61
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user