From 7fe8749807df38d99ee0703be684572f66182329 Mon Sep 17 00:00:00 2001 From: David Sparer Date: Tue, 27 Sep 2016 14:52:06 -0600 Subject: [PATCH] Resolved bug with the Reconnect context menu item being permanently disabled for containers --- mRemoteV1/UI/Controls/ConnectionContextMenu.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteV1/UI/Controls/ConnectionContextMenu.cs b/mRemoteV1/UI/Controls/ConnectionContextMenu.cs index 52b34b15..2cb5e231 100644 --- a/mRemoteV1/UI/Controls/ConnectionContextMenu.cs +++ b/mRemoteV1/UI/Controls/ConnectionContextMenu.cs @@ -433,8 +433,8 @@ namespace mRemoteNG.UI.Controls _cMenTreeDisconnect.Enabled = false; var openConnections = ((ContainerInfo)connectionInfo).Children.Sum(child => child.OpenConnections.Count); - if (openConnections == 0) - _cMenTreeDisconnect.Enabled = false; + if (openConnections > 0) + _cMenTreeDisconnect.Enabled = true; _cMenTreeToolsTransferFile.Enabled = false; _cMenTreeToolsExternalApps.Enabled = false;