mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Resolved bug with the Reconnect context menu item being permanently disabled for containers
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user