解决点击列头排序报错问题

This commit is contained in:
小红帽 2023-12-27 22:44:48 +08:00
parent 26b051b222
commit 1d727a09ef

View File

@ -860,7 +860,7 @@ namespace CPF.Controls
List<object> list = new List<object>();
foreach (var item in SelectedIndexs)
{
if (item >= items.Count && item < 0)
if (item >= items.Count || item < 0)
{
continue;
}