MG: fixed showing non TPersistent components in OI

git-svn-id: trunk@3245 -
This commit is contained in:
lazarus 2002-08-25 16:07:38 +00:00
parent cc8a613f02
commit 081843bc87

View File

@ -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;