Skip to content

Commit

Permalink
[F] Fix sorting in Duplicate Files (Again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Baine committed May 9, 2019
1 parent 0b4ed64 commit 12413a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 12413a5

Please sign in to comment.