Browse Source

Failure when opening Properties dialog on second local panel

Source commit: 3896dd24bf79acb5df692ba78fdf45dcee93d726
Martin Prikryl 3 năm trước cách đây
mục cha
commit
adeb7f1994
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -2985,7 +2985,7 @@ bool __fastcall TCustomScpExplorerForm::ExecuteFileOperation(TFileOperation Oper
   ADirView->CreateFileList(OnFocused, FullPath, FileList.get());
 
   bool ReloadProperties =
-    (Side == osRemote) && (Operation == foSetProperties) &&
+    !IsSideLocalBrowser(Side) && (Operation == foSetProperties) &&
     DebugAlwaysTrue(HasActiveTerminal()) && Terminal->IsCapable[fcLoadingAdditionalProperties];
 
   bool Result = ExecuteFileOperation(Operation, Side, FileList.get(), NoConfirmation, Param);