mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 02:39:51 +02:00
ValEdit: fix not removing ReadOnly of editor when in column[0], introduced in (my own) r40417 #e06657740f.
git-svn-id: trunk@40424 -
This commit is contained in:
parent
53a3d93a5a
commit
f9e3ecf385
@ -1041,8 +1041,13 @@ begin
|
||||
else SetGridEditorReadOnly(result, False);
|
||||
end
|
||||
else
|
||||
begin
|
||||
//First column is only editable if KeyEdit is in KeyOptions
|
||||
if not (KeyEdit in KeyOptions) then Result := nil;
|
||||
if not (KeyEdit in KeyOptions) then
|
||||
Result := nil
|
||||
else
|
||||
SetGridEditorReadOnly(result, False);
|
||||
end;
|
||||
end;
|
||||
|
||||
function TValueListEditor.GetRowCount: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user