Browse Source

Bug 1399: Prevent interruption of file renaming by automatic operations (such as an automatic remote panel refresh)

https://winscp.net/tracker/1399

Source commit: 191fe41dff814b886fe8d25eb944c700b5e2ca33
Martin Prikryl 9 years ago
parent
commit
187ef3616c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -8869,7 +8869,7 @@ bool __fastcall TCustomScpExplorerForm::IsBusy()
   // That's why the TNonVisualDataModule::GetBusy calls this method.
   // Among other this prevents a panel auto update to occur while
   // directory is changing.
-  return (FLockLevel > 0);
+  return (FLockLevel > 0) || DirView(osCurrent)->IsEditing();
 }
 //---------------------------------------------------------------------------
 Boolean __fastcall TCustomScpExplorerForm::AllowedAction(TAction * /*Action*/, TActionAllowed Allowed)