mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 18:16:02 +02:00
Qt: do not hide exception from application, raising exception inside DeliverMessage was wrong
git-svn-id: trunk@37316 -
This commit is contained in:
parent
96616afa61
commit
9322aa8ab4
@ -5061,8 +5061,7 @@ begin
|
|||||||
DebugLn(Format('WARNING: %s has been destroyed while processing input event %u result %u',
|
DebugLn(Format('WARNING: %s has been destroyed while processing input event %u result %u',
|
||||||
[ClassName, AEvent, Result]));
|
[ClassName, AEvent, Result]));
|
||||||
end else
|
end else
|
||||||
raise Exception.CreateFmt('%s.DeliverMessage(): error in event %u result %u',
|
Application.HandleException(nil);
|
||||||
[ClassName, AEvent, Result]);
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user