Skip to content
Permalink
Browse files

[F] Fix sorting in Duplicate Files (Again)

  • Loading branch information...
Baine committed May 9, 2019
1 parent 0b4ed64 commit 12413a5752586a9362de847f4d56feaae5235613
Showing with 1 addition and 2 deletions.
  1. +1 −2 Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs
@@ -45,8 +45,7 @@ public DuplicateFilesControl()

DuplicateFilesCollection = new ObservableCollection<VM_DuplicateFile>();
ViewFiles = CollectionViewSource.GetDefaultView(DuplicateFilesCollection);
ViewFiles.SortDescriptions.Add(new SortDescription("AnimeName", ListSortDirection.Ascending));
ViewFiles.SortDescriptions.Add(new SortDescription("EpisodeNumber", ListSortDirection.Ascending));
ViewFiles.SortDescriptions.Add(new SortDescription("LocalFileName1", ListSortDirection.Ascending));

btnRefresh.Click += new RoutedEventHandler(btnRefresh_Click);
lbDuplicateFiles.SelectionChanged += new SelectionChangedEventHandler(lbDuplicateFiles_SelectionChanged);

0 comments on commit 12413a5

Please sign in to comment.
You can’t perform that action at this time.