mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 12:00:40 +02:00
let treenode item expand when double clicked (issue #742)
git-svn-id: trunk@8378 -
This commit is contained in:
parent
e49ba83bc8
commit
7a2175a22b
@ -4265,7 +4265,9 @@ begin
|
||||
FDragNode:=CursorNode;
|
||||
Include(fStates,tvsWaitForDragging);
|
||||
end;
|
||||
end;
|
||||
end else
|
||||
if (ssDouble in Shift) and (Button = mbLeft) then
|
||||
CursorNode.Expanded := not CursorNode.Expanded;
|
||||
end;
|
||||
|
||||
procedure TCustomTreeView.MouseMove(Shift: TShiftState; X, Y: Integer);
|
||||
|
Loading…
Reference in New Issue
Block a user