Fix issue MR-339 - Connection group collapses with just one click

(cherry picked from commit 0a7c88a853)

Conflicts:
	CHANGELOG.TXT
This commit is contained in:
Riley McArdle
2013-02-27 14:41:53 -06:00
parent b735e6d3e4
commit b0439adee4
2 changed files with 3 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
Fixed issue MR-339 - Connection group collapses with just one click
Fixed issue MR-340 - Object reference not set to an instance of an object.
Fixed issue MR-344 - Move "Always show panel tabs" option
Fixed tabs not closing on double-click when the active tab is a PuTTY connection.

View File

@@ -734,8 +734,8 @@ Public Class frmMain
Dim control As Control = FromChildHandle(WindowFromPoint(MousePosition))
If Not IsNothing(control) Then
' Let ComboBoxes get focus but don't simulate a mouse event
If TypeOf control Is ComboBox Then Exit Select
' Let TreeViews and ComboBoxes get focus but don't simulate a mouse event
If TypeOf control Is TreeView Or TypeOf control Is ComboBox Then Exit Select
If control.CanSelect Or TypeOf control Is MenuStrip Or TypeOf control Is ToolStrip Or TypeOf control Is Magic.Controls.InertButton Then
' Simulate a mouse event since one wasn't generated by Windows