Browse Source

Fix ItemsControl unsubscription.

pull/223/head
Steven Kirk 11 years ago
parent
commit
f12e25c5c8
  1. 2
      src/Perspex.Controls/ItemsControl.cs

2
src/Perspex.Controls/ItemsControl.cs

@ -171,7 +171,7 @@ namespace Perspex.Controls
if (incc != null)
{
incc.CollectionChanged += ItemsCollectionChanged;
incc.CollectionChanged -= ItemsCollectionChanged;
}
var newValue = e.NewValue as IEnumerable;

Loading…
Cancel
Save