Skip to content

Commit

Permalink
Bug fix: Resolving file move from synchronization checklist, invoked …
Browse files Browse the repository at this point in the history
…from command-line, closes a connection

Source commit: 6f8955484d13b2ca232f753e271cc05c000288bd
  • Loading branch information
martinprikryl committed Oct 22, 2018
1 parent 9eb12b5 commit 885ab62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/forms/CustomScpExplorer.cpp
Expand Up @@ -1432,6 +1432,8 @@ void __fastcall TCustomScpExplorerForm::FileOperationProgress(
// we suppose "/upload" or URL download mode
if (!Visible && (ProgressData.Operation != foCalculateSize) &&
(ProgressData.Operation != foCalculateChecksum) &&
// Hack to prevent renames from DoSynchronizeMove (synchronize checklist) closing the connection
(ProgressData.Operation != foRemoteMove) &&
(FSynchronizeProgressForm == NULL) &&
!FStandaloneEditing)
{
Expand Down

0 comments on commit 885ab62

Please sign in to comment.