Parcourir la source

Columns menu in Explorer interface is enabled only in Details view

Source commit: 8fce142004eee924760de1bdda30aeb7ee30f859
Martin Prikryl il y a 1 an
Parent
commit
2fea87d250
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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);
 }