mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 11:59:15 +02:00
lcl: fixed function result
git-svn-id: trunk@36712 -
This commit is contained in:
parent
c5accacd74
commit
0b5e5f6a0c
@ -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;
|
||||
|
||||
{------------------------------------------------------------------------------}
|
||||
|
Loading…
Reference in New Issue
Block a user