Skip to content

Commit

Permalink
Fix issue MR-339 - Connection group collapses with just one click
Browse files Browse the repository at this point in the history
(cherry picked from commit 0a7c88a)

Conflicts:
	CHANGELOG.TXT
  • Loading branch information
rmcardle committed Feb 27, 2013
1 parent b735e6d commit b0439ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.TXT
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions mRemoteV1/Forms/frmMain.vb
Expand Up @@ -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
Expand Down

0 comments on commit b0439ad

Please sign in to comment.