From 7451383c24257e4c0fd375f82912ce7f1cd60782 Mon Sep 17 00:00:00 2001 From: David Sparer Date: Sun, 5 Nov 2017 07:09:17 -0600 Subject: [PATCH] putty nodes and root putty node should not have context menu items "import" or "export" --- mRemoteV1/UI/Controls/ConnectionContextMenu.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mRemoteV1/UI/Controls/ConnectionContextMenu.cs b/mRemoteV1/UI/Controls/ConnectionContextMenu.cs index fd51d65c..49bec5db 100644 --- a/mRemoteV1/UI/Controls/ConnectionContextMenu.cs +++ b/mRemoteV1/UI/Controls/ConnectionContextMenu.cs @@ -443,7 +443,9 @@ namespace mRemoteNG.UI.Controls _cMenTreeToolsSort.Enabled = false; _cMenTreeToolsExternalApps.Enabled = false; _cMenTreeDuplicate.Enabled = false; - _cMenTreeRename.Enabled = true; + _cMenTreeImport.Enabled = false; + _cMenTreeExportFile.Enabled = false; + _cMenTreeRename.Enabled = false; _cMenTreeDelete.Enabled = false; _cMenTreeMoveUp.Enabled = false; _cMenTreeMoveDown.Enabled = false; @@ -498,6 +500,8 @@ namespace mRemoteNG.UI.Controls _cMenTreeDelete.Enabled = false; _cMenTreeMoveUp.Enabled = false; _cMenTreeMoveDown.Enabled = false; + _cMenTreeImport.Enabled = false; + _cMenTreeExportFile.Enabled = false; } internal void ShowHideMenuItemsForConnectionNode(ConnectionInfo connectionInfo)