Skip to content

Commit

Permalink
Make sure the combo box sorts by the quest display name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinematics committed Mar 17, 2015
1 parent 30cb390 commit 892964a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetTally/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public MainWindow()
// Set up view for binding
QuestCollectionView = CollectionViewSource.GetDefaultView(questCollection);
// Sort the collection view
var sortDesc = new SortDescription("Name", ListSortDirection.Ascending);
var sortDesc = new SortDescription("DisplayName", ListSortDirection.Ascending);
QuestCollectionView.SortDescriptions.Add(sortDesc);
// Set the current item
QuestCollectionView.MoveCurrentTo(questCollection[wrapper.CurrentQuest]);
Expand Down

0 comments on commit 892964a

Please sign in to comment.