Browse Source

Fix SelectingItemsControl.CoerceSelectedItem

pull/58/head
Steven Kirk 11 years ago
parent
commit
55fbe43214
  1. 2
      Perspex.Controls/Primitives/SelectingItemsControl.cs

2
Perspex.Controls/Primitives/SelectingItemsControl.cs

@ -228,7 +228,7 @@ namespace Perspex.Controls.Primitives
{
if (value != null && (control.Items == null || control.Items.IndexOf(value) == -1))
{
return -1;
return null;
}
}

Loading…
Cancel
Save