From 0a7c88a853323b13bc48e15be6cabda690e32be5 Mon Sep 17 00:00:00 2001 From: Riley McArdle Date: Wed, 27 Feb 2013 14:39:27 -0600 Subject: [PATCH] Fix issue MR-339 - Connection group collapses with just one click --- CHANGELOG.TXT | 1 + mRemoteV1/Forms/frmMain.vb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index 9b41c788..36a27b9d 100644 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -6,6 +6,7 @@ Fixed issue MR-158 - Password field not accepting Pipe Fixed issue MR-330 - Portable version saves log to user's profile folder Fixed issue MR-333 - Unnecessary prompt for 'close all open connections?' + Fixed issue MR-339 - Connection group collapses with just one click Fixed issue MR-342 - Incorrect view in config pane of new connection after viewing default inheritance Added detection of newer versions of connection files and database schemata. mRemoteNG will now refuse to open them to avoid data loss. Improved appearance and discoverability of the connection search box. diff --git a/mRemoteV1/Forms/frmMain.vb b/mRemoteV1/Forms/frmMain.vb index 4d7464b2..38a481c7 100644 --- a/mRemoteV1/Forms/frmMain.vb +++ b/mRemoteV1/Forms/frmMain.vb @@ -743,8 +743,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