Browse Source

Correcting pairing of window locks after 6ef0d1fb

Source commit: 8c0bbea6c47d3401a2ba2b0a237cb3d9a9418891
Martin Prikryl 3 years ago
parent
commit
1078dc757a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -1498,8 +1498,8 @@ void __fastcall TCustomScpExplorerForm::CreateProgressForm(TSynchronizeProgress
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::DestroyProgressForm()
 {
-  UnlockWindow();
   SAFE_DESTROY(FProgressForm);
+  UnlockWindow();
   SetQueueProgress();
 }
 //---------------------------------------------------------------------------