mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-06 11:27:45 +01:00
lcl: clear control items when lookup list source is inactive. Issue #30545
git-svn-id: trunk@53002 -
This commit is contained in:
parent
c3d7d6e046
commit
835be86890
@ -138,7 +138,12 @@ begin
|
||||
if (csDestroying in ComponentState) then
|
||||
Exit;
|
||||
if FListLink.Active then
|
||||
Initialize(FControlLink, FControlItems);
|
||||
Initialize(FControlLink, FControlItems)
|
||||
else
|
||||
begin
|
||||
SetLength(FListKeys, 0);
|
||||
FControlItems.Clear;
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TDBLookup.DatasetChange(Sender: TObject);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user