Browse Source

Bug fix: Transfer settings are not preserved when starting synchronization in new window

(cherry picked from commit 2302daa3cc12beffaef387402e4a4479265f8de2)

Source commit: 6b662c0c19e85914c928fb0e5376bed576adabd4
Martin Prikryl 5 years ago
parent
commit
791e9505fd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      source/forms/FullSynchronize.cpp

+ 2 - 1
source/forms/FullSynchronize.cpp

@@ -466,7 +466,8 @@ void __fastcall TFullSynchronizeDialog::OkButtonClick(TObject *)
 void __fastcall TFullSynchronizeDialog::StartInNewWindow()
 void __fastcall TFullSynchronizeDialog::StartInNewWindow()
 {
 {
   Submitted();
   Submitted();
-  FOnFullSynchronizeInNewWindow(Mode, Params, LocalDirectory, RemoteDirectory, &CopyParams);
+  TCopyParamType ACopyParams = CopyParams;
+  FOnFullSynchronizeInNewWindow(Mode, Params, LocalDirectory, RemoteDirectory, &ACopyParams);
   Close();
   Close();
 }
 }
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------