diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 5bc5a1871..b9c53e498 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -22,12 +22,15 @@ Fix issue MR-166 - Inheritance button is disabled on some connections Fix issue MR-172 - RDGatewayPassword is unencrypted in confCons.xml file Fix issue MR-174 - Trailing Space on a Hostname/IP will cause the connection not to happen. + Fix issue MR-175 - Problem with focus when 2 or more PuTTY sessions opened Fix issue MR-176 - Del key while editing connection name triggers 'Delete Connection' Fix issue MR-181 - Sessions on startup + Fix issue MR-190 - Can't click on tab/session Fix issue MR-196 - Cannot export list without usernames and passwords Fix issue MR-199 - when using screen inside putty, screen becomes dead when reduce mremoteNG Fix issue MR-202 - The Connection "Tab" show Ampersands as underscores. Fix issue MR-214 - Hostname/IP reset + Fix issue MR-224 - Session tabs become un-clickable after duplicating a tab or opening a new one in the same panel Fix issue MR-233 - Backslash at end of password prevents success of putty invocation and corresponding auto-logon Fix issue MR-235 - Config file gets corrupted when leaving the password entry box with ESC Fix issue MR-277 - Inheritance configuration button not appear in configuration tab diff --git a/mRemoteV1/UI/UI.Window.Connection.vb b/mRemoteV1/UI/UI.Window.Connection.vb index e2a77420d..9b247bfba 100644 --- a/mRemoteV1/UI/UI.Window.Connection.vb +++ b/mRemoteV1/UI/UI.Window.Connection.vb @@ -920,8 +920,13 @@ Namespace UI End Sub Private Sub TabController_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) Handles TabController.MouseUp - Debug.Print("UI.Window.Connection.TabController_MouseUp()") Try + Dim clickedTab As Magic.Controls.TabPage = TabController.TabPageFromPoint(e.Location) + If clickedTab IsNot Nothing And TabController.SelectedTab IsNot clickedTab Then + TabController.SelectedTab = clickedTab + Return + End If + Select Case e.Button Case MouseButtons.Left FocusIC()