소스 검색

Failure when opening Properties dialog on second local panel

Source commit: 3896dd24bf79acb5df692ba78fdf45dcee93d726
Martin Prikryl 3 년 전
부모
커밋
adeb7f1994
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);