浏览代码

Columns menu in Explorer interface is enabled only in Details view

Source commit: 8fce142004eee924760de1bdda30aeb7ee30f859
Martin Prikryl 1 年之前
父节点
当前提交
2fea87d250
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
 }