Skip to content

Commit 6e90a83

Browse files
joachimmardermodersohn
authored andcommitted
Reverted previous commit for JAM-Software#1001
1 parent fd9266d commit 6e90a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/VirtualTrees.pas

+2-2
Original file line numberDiff line numberDiff line change
@@ -18480,8 +18480,8 @@ procedure TBaseVirtualTree.ChangeTreeStatesAsync(EnterStates, LeaveStates: TVirt
1848018480
if (Self.HandleAllocated) then
1848118481
TThread.Synchronize(nil, procedure
1848218482
begin
18483-
// issue #1001 // Prevent invalid combination tsUseCache + tsValidationNeeded (#915)
18484-
if HandleAllocated and not ((tsUseCache in EnterStates) and (tsValidationNeeded in FStates + LeaveStates)) then
18483+
// Prevent invalid combination tsUseCache + tsValidationNeeded (#915)
18484+
if not ((tsUseCache in EnterStates) and (tsValidationNeeded in FStates + LeaveStates)) then
1848518485
DoStateChange(EnterStates, LeaveStates)
1848618486
end);
1848718487
end;

0 commit comments

Comments
 (0)