mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 12:36:15 +02:00
DBG: ensure, existing "ignored exceptions" are re-enabled, if user requests
git-svn-id: trunk@35254 -
This commit is contained in:
parent
431bef0ffe
commit
b3e1fbdbdf
@ -951,8 +951,10 @@ begin
|
|||||||
|
|
||||||
if (AExceptionType in [deInternal, deRunError]) then begin
|
if (AExceptionType in [deInternal, deRunError]) then begin
|
||||||
AContinue := ExecuteExceptionDialog(msg, Ignore, AExceptionType = deInternal) = mrCancel;
|
AContinue := ExecuteExceptionDialog(msg, Ignore, AExceptionType = deInternal) = mrCancel;
|
||||||
if Ignore then
|
if Ignore then begin
|
||||||
Exceptions.AddIfNeeded(AExceptionClass);
|
Exceptions.AddIfNeeded(AExceptionClass);
|
||||||
|
Exceptions.Find(AExceptionClass).Enabled := True;
|
||||||
|
end;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
MessageDlg(lisCCOErrorCaption, msg, mtError, [mbOk], 0)
|
MessageDlg(lisCCOErrorCaption, msg, mtError, [mbOk], 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user