mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 19:39:30 +02:00
lcl: reset controldatalink after listsource changes in lookup controls to ensure proper sync between control display and dataset content
git-svn-id: trunk@43478 -
This commit is contained in:
parent
f8ca4d297e
commit
b9a242e94c
@ -96,7 +96,10 @@ end;
|
||||
procedure TDBLookup.EditingChange(Sender: TObject);
|
||||
begin
|
||||
if FListLink.Active and not (FListLink.Editing) then
|
||||
begin
|
||||
FetchLookupData;
|
||||
FControlLink.Reset;
|
||||
end;
|
||||
end;
|
||||
|
||||
// do not show in property inspector if FHasLookUpField
|
||||
|
Loading…
Reference in New Issue
Block a user