mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-31 01:31:04 +02:00
LCL: comment
git-svn-id: trunk@46548 -
This commit is contained in:
parent
4b3bc597fc
commit
1f7c9921b9
@ -5165,6 +5165,7 @@ begin
|
||||
LogicalX:=X;
|
||||
if ([ssDouble, ssTriple, ssQuad] * Shift) = [] then
|
||||
begin
|
||||
// single click or first of a multi click
|
||||
if (Button = mbLeft) and (CursorNode <> nil) then
|
||||
begin
|
||||
if CursorNode.HasChildren and ShowButtons and
|
||||
@ -5214,7 +5215,8 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
end else
|
||||
end
|
||||
else // multi click
|
||||
if not (tvoNoDoubleClickExpand in Options) and (ssDouble in Shift)
|
||||
and (Button = mbLeft) and (CursorNode<>nil) then
|
||||
CursorNode.Expanded := not CursorNode.Expanded;
|
||||
|
Loading…
Reference in New Issue
Block a user