Fix issue MR-175 - Problem with focus when 2 or more PuTTY sessions opened

Fix issue MR-190 - Can't click on tab/session
Fix issue MR-224 - Session tabs become un-clickable after duplicating a tab or opening a new one in the same panel
This commit is contained in:
Riley McArdle
2013-02-17 18:47:28 -06:00
parent f7dfe0ecd0
commit 4ea588d897
2 changed files with 9 additions and 1 deletions

View File

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

View File

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