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:
blikblum 2013-11-25 00:06:18 +00:00
parent f8ca4d297e
commit b9a242e94c

View File

@ -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