mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-27 13:17:18 +01: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);
|
else SetGridEditorReadOnly(result, False);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
//First column is only editable if KeyEdit is in KeyOptions
|
//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;
|
end;
|
||||||
|
|
||||||
function TValueListEditor.GetRowCount: Integer;
|
function TValueListEditor.GetRowCount: Integer;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user