mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:00:16 +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;
|
if not Assigned(SortProc) then SortProc:=@DefaultTreeViewSort;
|
||||||
Sort(FItems, FCount, SortProc, true);
|
Sort(FItems, FCount, SortProc, true);
|
||||||
end;
|
end;
|
||||||
|
if (TreeView <> nil) then
|
||||||
|
Include(TreeView.FStates, tvsTopsNeedsUpdate);
|
||||||
Result:=true;
|
Result:=true;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user