summaryrefslogtreecommitdiff
path: root/lib/status_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/status_handler.h')
-rw-r--r--lib/status_handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/status_handler.h b/lib/status_handler.h
index 789293e4..93f9892c 100644
--- a/lib/status_handler.h
+++ b/lib/status_handler.h
@@ -75,8 +75,8 @@ protected:
if (updateUiIsAllowed()) //test if specific time span between ui updates is over
forceUiRefresh();
- if (abortRequested)
- abortThisProcess(); //abort can be triggered by requestAbortion()
+ if (abortRequested) //check *after* GUI update, to have up-to-date screen
+ abortThisProcess(); //triggered by requestAbortion()
}
virtual void reportStatus(const std::wstring& text) { statusText_ = text; requestUiRefresh(); /*throw AbortThisProcess */ }
bgstack15