mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-30 22:42:39 +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);
|
||||
begin
|
||||
if not (goColMoving in Options) then
|
||||
inherited Options := AValue;
|
||||
if not (goColMoving in AValue) then
|
||||
inherited Options := AValue
|
||||
else
|
||||
inherited Options := AValue - [goColMoving];
|
||||
end;
|
||||
|
||||
procedure TValueListEditor.SetStrings(const AValue: TValueListStrings);
|
||||
|
Loading…
Reference in New Issue
Block a user