mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 14:59:15 +02:00
lcl: cleanup TDBLookup.Notification
git-svn-id: trunk@37063 -
This commit is contained in:
parent
7d52c74d6d
commit
6d94b077c7
@ -175,9 +175,8 @@ end;
|
||||
procedure TDBLookup.Notification(AComponent: TComponent; Operation: TOperation);
|
||||
begin
|
||||
inherited Notification(AComponent, Operation);
|
||||
if (Operation=opRemove) then
|
||||
if (AComponent = FListSource) then
|
||||
FListSource:= nil;
|
||||
if (Operation=opRemove) and (AComponent = FListSource) then
|
||||
FListSource := nil;
|
||||
end;
|
||||
|
||||
procedure TDBLookup.LinkGetBookMark;
|
||||
|
Loading…
Reference in New Issue
Block a user