Browse Source

Handle move in SelectingItemsControl.

Fixes #2522.
pull/2526/head
Steven Kirk 7 years ago
parent
commit
ba7cec18e3
  1. 1
      src/Avalonia.Controls/Primitives/SelectingItemsControl.cs

1
src/Avalonia.Controls/Primitives/SelectingItemsControl.cs

@ -380,6 +380,7 @@ namespace Avalonia.Controls.Primitives
}
break;
case NotifyCollectionChangedAction.Move:
case NotifyCollectionChangedAction.Reset:
SelectedIndex = IndexOf(Items, SelectedItem);
break;

Loading…
Cancel
Save