mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Fixed bug with calling CollectionChanged when sorting container children
This commit is contained in:
@@ -126,7 +126,7 @@ namespace mRemoteNG.Container
|
||||
SortDirection = sortDirection
|
||||
};
|
||||
Children.Sort(connectionComparer);
|
||||
RaiseCollectionChangedEvent(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Move, Children));
|
||||
RaiseCollectionChangedEvent(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
|
||||
}
|
||||
|
||||
public void SortRecursive(ListSortDirection sortDirection = ListSortDirection.Ascending)
|
||||
|
||||
Reference in New Issue
Block a user