mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 18:00:24 +02:00
MG: fixed showing non TPersistent components in OI
git-svn-id: trunk@3245 -
This commit is contained in:
parent
cc8a613f02
commit
081843bc87
@ -951,7 +951,6 @@ begin
|
||||
if Button=mbLeft then begin
|
||||
if not WasDragging then begin
|
||||
Index:=MouseToIndex(Y,false);
|
||||
ItemIndex:=Index;
|
||||
if (Index>=0) and (Index<FRows.Count) then begin
|
||||
IconX:=GetTreeIconX(Index);
|
||||
if (X>=IconX) and (X<=IconX+FIndent) then begin
|
||||
@ -962,6 +961,8 @@ begin
|
||||
else
|
||||
ExpandRow(Index);
|
||||
end;
|
||||
end else begin
|
||||
ItemIndex:=Index;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user