lcl: fixed function result

git-svn-id: trunk@36712 -
This commit is contained in:
mattias 2012-04-10 18:21:22 +00:00
parent c5accacd74
commit 0b5e5f6a0c

View File

@ -380,8 +380,10 @@ begin
LV := FOwner.FOwner;
LV.Selected := Nil; // First clear all selections,
LV.Selected := Self; // then set this item as the only selected.
if not LV.ReadOnly and Assigned(LV.FEditor) then
LV.ShowEditor;
if LV.ReadOnly or (LV.FEditor=nil) then
exit(false);
LV.ShowEditor;
Result:=true;
end;
{------------------------------------------------------------------------------}