Fixed bug in text changed event

This commit is contained in:
Robin 2015-12-12 20:21:15 +00:00
parent a1d21be928
commit 1d16b6e5a7

View File

@ -119,7 +119,7 @@ namespace DarkUI.Controls
if (e.OldItems != null)
{
foreach (DarkListItem item in e.NewItems)
foreach (DarkListItem item in e.OldItems)
item.TextChanged -= Item_TextChanged;
// Find the starting index of the old item list and update anything past that