Skip to content

Commit f6f0a2e

Browse files
author
Joachim Marder
committed
Merge pull request #604 from obones/Issue603
Fix for Issue 603
2 parents c3f5809 + 939f0a3 commit f6f0a2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/VirtualTrees.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14779,7 +14779,7 @@ procedure TBaseVirtualTree.SetFiltered(Node: PVirtualNode; Value: Boolean);
1477914779
Include(Node.States, vsFiltered);
1478014780
if not (toShowFilteredNodes in FOptions.FPaintOptions) then
1478114781
begin
14782-
if vsInitializing in Node.States then
14782+
if (vsInitializing in Node.States) and not (vsHasChildren in Node.States) then
1478314783
AdjustTotalHeight(Node, 0, False)
1478414784
else
1478514785
AdjustTotalHeight(Node, -Integer(NodeHeight[Node]), True);

0 commit comments

Comments
 (0)