mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 18:40:44 +02:00
TreeView: fix selecting visible items.
git-svn-id: trunk@34897 -
This commit is contained in:
parent
856301bb01
commit
75d7918d0a
@ -902,7 +902,7 @@ begin
|
||||
Result:=GetPrevVisibleSibling;
|
||||
if Result <> nil then begin
|
||||
while Result.Visible and Result.Expanded do begin
|
||||
ANode:=Result.GetLastChild;
|
||||
ANode:=Result.GetLastVisibleChild;
|
||||
if ANode=nil then break;
|
||||
Result:=ANode;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user