mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:19:19 +02:00
VirtualTreeView: Infinite loop in GetPreviousVisibleNoInit(). Issue #38836 (patch from JAM-Software repo, #599)
git-svn-id: trunk@65094 -
This commit is contained in:
parent
c8e8ad8dc8
commit
1f43f33ca6
@ -29484,11 +29484,9 @@ begin
|
||||
if Assigned(Result.PrevSibling) then
|
||||
begin
|
||||
// No children anymore, so take the previous sibling.
|
||||
if vsVisible in Result.PrevSibling.States then
|
||||
begin
|
||||
Result := Result.PrevSibling;
|
||||
if vsVisible in Result.States then
|
||||
Break;
|
||||
end;
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user