diff --git a/mRemoteV1/UI/Window/ConnectionWindow.cs b/mRemoteV1/UI/Window/ConnectionWindow.cs index 5008c81f4..908fab04e 100644 --- a/mRemoteV1/UI/Window/ConnectionWindow.cs +++ b/mRemoteV1/UI/Window/ConnectionWindow.cs @@ -796,6 +796,7 @@ namespace mRemoteNG.UI.Window CloseConnectionTab(); break; case MouseButtons.Right: + if (TabController.SelectedTab?.Tag == null) return; ShowHideMenuButtons(); NativeMethods.SetForegroundWindow(Handle); cmenTab.Show(TabController, e.Location);