* UICombobox: 修复使用BindingList进行绑定,DisplayMember是空字符串显示错误。

This commit is contained in:
Sunny 2021-09-24 23:02:09 +08:00
parent 55f3742077
commit 6fb3741433
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -875,10 +875,10 @@ namespace Sunny.UI
//} //}
showText = GetItemText(Items[e.Index]); showText = GetItemText(Items[e.Index]);
if (showText.IsNullOrEmpty()) // if (showText.IsNullOrEmpty())
{ // {
showText = Items[e.Index].ToString(); // showText = Items[e.Index].ToString();
} // }
} }
if (!otherState) if (!otherState)