From 989645ec971d41cd685b6aff5a22b34f0b9f75e5 Mon Sep 17 00:00:00 2001 From: Sunny Date: Fri, 5 Jan 2024 21:59:03 +0800 Subject: [PATCH] =?UTF-8?q?*=20UICombobox:=20=E4=BF=AE=E5=A4=8D=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E8=AE=BE=E7=BD=AEText=EF=BC=8CSelectedValue=E4=B8=8D?= =?UTF-8?q?=E5=8F=98=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SunnyUI/Controls/UIComboBox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SunnyUI/Controls/UIComboBox.cs b/SunnyUI/Controls/UIComboBox.cs index 1b9bb9eb..c25cf73c 100644 --- a/SunnyUI/Controls/UIComboBox.cs +++ b/SunnyUI/Controls/UIComboBox.cs @@ -377,7 +377,6 @@ namespace Sunny.UI private void Edit_TextChanged(object sender, EventArgs e) { TextChanged?.Invoke(this, e); - if (DropDownStyle == UIDropDownStyle.DropDownList) return; if (!ShowFilter) { @@ -396,6 +395,7 @@ namespace Sunny.UI } else { + if (DropDownStyle == UIDropDownStyle.DropDownList) return; if (edit.Focused && Text.IsValid()) { ShowDropDownFilter();