mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 02:59:33 +02:00
* Use sender when notifying observers
git-svn-id: trunk@23079 -
This commit is contained in:
parent
4a9dcfe0b8
commit
b774bbb681
@ -99,7 +99,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
O:=TObject(FObservers[i]);
|
O:=TObject(FObservers[i]);
|
||||||
If O.GetInterface(SGUIDObserver,Obs) then
|
If O.GetInterface(SGUIDObserver,Obs) then
|
||||||
Obs.FPOObservedChanged(Self,AOperation,Data);
|
Obs.FPOObservedChanged(ASender,AOperation,Data);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user