Browse Source

Consistency with GetSynchronizeOptions

(cherry picked from commit 4a0d234513c92cd037f37e2ec1c3e8ee4001c54e)

Source commit: 7cac8fbcfddd445641e7112d91a6e9614157aa15
Martin Prikryl 5 years ago
parent
commit
4de75baebd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -5516,7 +5516,7 @@ bool __fastcall TCustomScpExplorerForm::SynchronizeAllowSelectedOnly()
 {
   // can be called from command line
   return Visible &&
-    ((DirView(osOther)->SelCount > 0) ||
+    ((DirView(osRemote)->SelCount > 0) ||
      (HasDirView[osLocal] && (DirView(osLocal)->SelCount > 0)));
 }
 //---------------------------------------------------------------------------