mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
jenkins doesn't like this...
This commit is contained in:
@@ -232,8 +232,8 @@ namespace mRemoteNG.UI.Controls
|
||||
private void ConnectionsMenuItem_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left) return;
|
||||
if (((ToolStripMenuItem)sender).Tag is ContainerInfo) return;
|
||||
if (((ToolStripMenuItem)sender).Tag is ConnectionInfo tag)
|
||||
var tag = ((ToolStripMenuItem)sender).Tag as ConnectionInfo;
|
||||
if (tag != null)
|
||||
{
|
||||
ConnectionInitiator.OpenConnection(tag);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user