From 0b1f04abe3a95aaa1d80fd5df74beabfb45ba28b Mon Sep 17 00:00:00 2001 From: David Sparer Date: Tue, 21 May 2019 07:51:41 -0500 Subject: [PATCH] fixes #1379 --- mRemoteV1/UI/Controls/QuickConnectComboBox.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mRemoteV1/UI/Controls/QuickConnectComboBox.cs b/mRemoteV1/UI/Controls/QuickConnectComboBox.cs index 2773849bd..7380c284b 100644 --- a/mRemoteV1/UI/Controls/QuickConnectComboBox.cs +++ b/mRemoteV1/UI/Controls/QuickConnectComboBox.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Drawing; using System.Windows.Forms; using mRemoteNG.App; @@ -20,6 +20,7 @@ namespace mRemoteNG.UI.Controls _comboBox.SelectedIndexChanged += ComboBox_SelectedIndexChanged; _comboBox.DrawItem += ComboBox_DrawItem; _comboBox.DrawMode = DrawMode.OwnerDrawFixed; + CausesValidation = false; // This makes it so that _ignoreEnter works correctly before any items are added to the combo box _comboBox.Items.Clear();