lcl: fix crash when dataset is edit state. Issue #20900

git-svn-id: trunk@34195 -
This commit is contained in:
blikblum 2011-12-15 00:28:52 +00:00
parent 0edb27fc31
commit 3608d8a050

View File

@ -91,7 +91,7 @@ end;
procedure TDBLookup.EditingChange(Sender: TObject);
begin
if not (FListLink.Editing) then
if FListLink.Active and not (FListLink.Editing) then
FetchLookupData;
end;