Browse Source

Comment on possibly wrong collection of errors

Source commit: c4ae5b9cc12e4a861a5d40c3ce70c86816e46272
Martin Prikryl 1 week ago
parent
commit
a888a126bc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/forms/CustomScpExplorer.cpp

+ 2 - 0
source/forms/CustomScpExplorer.cpp

@@ -8000,6 +8000,8 @@ unsigned int __fastcall TCustomScpExplorerForm::MoreMessageDialog(const UnicodeS
     UnicodeString HelpKeyword, const TMessageParams * Params,
     TTerminal * Terminal)
 {
+  // Should test if terminal is the foreground terminal,
+  // otherwise we mix errors from the background operation with the foreground.
   if (((WinConfiguration->ContinueOnError && (FErrorList != NULL)) ||
        (FOnFeedSynchronizeError != NULL)) &&
       (Params != NULL) && (Params->Params & mpAllowContinueOnError) )