mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 07:37:27 +01:00
lcl: pass Sender to TExceptionEvent instead of Application
git-svn-id: trunk@19098 -
This commit is contained in:
parent
ffe4e89cf0
commit
dee3b9ff40
@ -1076,7 +1076,7 @@ begin
|
||||
if Assigned(OnException) then
|
||||
OnException(Sender, Exception(ExceptObject));
|
||||
while FApplicationHandlers[ahtException].NextDownIndex(i) do
|
||||
TExceptionEvent(FApplicationHandlers[ahtException][i])(Self,Exception(ExceptObject));
|
||||
TExceptionEvent(FApplicationHandlers[ahtException][i])(Sender, Exception(ExceptObject));
|
||||
end
|
||||
else
|
||||
ShowException(Exception(ExceptObject));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user