mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 23:58:17 +02:00
ValEdit: fix bug in SetOptions (once goColMoving was set, it wasn't possible to change options anymore).
git-svn-id: trunk@40225 -
This commit is contained in:
parent
b3c2eafeb0
commit
b48441883c
@ -686,8 +686,10 @@ end;
|
|||||||
|
|
||||||
procedure TValueListEditor.SetOptions(const AValue: TGridOptions);
|
procedure TValueListEditor.SetOptions(const AValue: TGridOptions);
|
||||||
begin
|
begin
|
||||||
if not (goColMoving in Options) then
|
if not (goColMoving in AValue) then
|
||||||
inherited Options := AValue;
|
inherited Options := AValue
|
||||||
|
else
|
||||||
|
inherited Options := AValue - [goColMoving];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TValueListEditor.SetStrings(const AValue: TValueListStrings);
|
procedure TValueListEditor.SetStrings(const AValue: TValueListStrings);
|
||||||
|
Loading…
Reference in New Issue
Block a user