* UICombobox: 修复使用BindingList进行绑定,DisplayMember是空字符串显示错误。
This commit is contained in:
parent
55f3742077
commit
6fb3741433
Binary file not shown.
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user