When deleting a file without a permission, an error dialog is shown. ClickingAbort closes the session, but it shouldn't.
This became possible due to insufficient handling of EAbort exception, that needs additional checks in order not to interfere with Abort() calls. The bug was introduced in commits 3119992cd601b2e60a10b4362217357e8ed5b981 and 33d435a836ede3c8e2ad56fb9904259037312d11.
This pull request fixes a regression introduced in the PR #473.
When deleting a file without a permission, an error dialog is shown. Clicking
Abort
closes the session, but it shouldn't.This became possible due to insufficient handling of
EAbort
exception, that needs additional checks in order not to interfere withAbort()
calls. The bug was introduced in commits3119992cd601b2e60a10b4362217357e8ed5b981
and33d435a836ede3c8e2ad56fb9904259037312d11
.This pull request fixes a regression introduced in the PR #473.