mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 10:10:31 +02:00
parent
d3edca108f
commit
49de54d716
@ -141,7 +141,7 @@ begin
|
||||
if FListLink.Active and not FListLink.Editing then
|
||||
begin
|
||||
FetchLookupData;
|
||||
if FControlLink.Active then
|
||||
if Assigned(FControlLink) and FControlLink.Active then
|
||||
FControlLink.Reset;
|
||||
end;
|
||||
end;
|
||||
@ -356,7 +356,7 @@ begin
|
||||
Key := FListKeys[ValueIndex];
|
||||
if ScrollDataset then
|
||||
FListLink.DataSet.Locate(FKeyFieldNames, Key, []);
|
||||
if FControlLink.Active then
|
||||
if Assigned(FControlLink) and FControlLink.Active then
|
||||
begin
|
||||
if VarSameValue(Key, FControlLink.DataSet.FieldValues[FDataFieldNames]) then
|
||||
Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user