Right clicking on an empty connection panel no longer displays the context menu

This commit is contained in:
David Sparer
2016-10-04 15:15:38 -06:00
parent 9e9786ecc7
commit f962b8a573

View File

@@ -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);