We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e45e0 commit b4cd92fCopy full SHA for b4cd92f
Source/VirtualTrees.BaseTree.pas
@@ -22526,8 +22526,6 @@ procedure TBaseVirtualTree.SortTree(Column: TColumnIndex; Direction: TSortDirect
22526
begin
22527
if RootNode.TotalCount <= 2 then
22528
Exit;//Nothing to do if there are one or zero nodes. RootNode.TotalCount is 1 if there are no nodes in the treee as the root node counts too here.
22529
- if not Assigned(OnCompareNodes) then
22530
- exit;// no sorting will take place without an event handler. Issue #1146
22531
22532
if not Assigned(FRoot.FirstChild) then
22533
Exit; // Sorting should not initialize the root nodes
0 commit comments