Browse Source

Columns menu in Explorer interface is enabled only in Details view

Source commit: 8fce142004eee924760de1bdda30aeb7ee30f859
Martin Prikryl 1 year ago
parent
commit
2fea87d250
1 changed files with 2 additions and 0 deletions
  1. 2 0
      source/forms/ScpExplorer.cpp

+ 2 - 0
source/forms/ScpExplorer.cpp

@@ -443,4 +443,6 @@ void __fastcall TScpExplorerForm::UpdateControls()
   {
     ActiveControl = RemoteDirView;
   }
+
+  ColumndsSubmenuItem->Enabled = (RemoteDirView->ViewStyle == vsReport);
 }