summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBTitleSelectionController.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBTitleSelectionController.m b/macosx/HBTitleSelectionController.m
index 7ac625f3c..b0f3e088a 100644
--- a/macosx/HBTitleSelectionController.m
+++ b/macosx/HBTitleSelectionController.m
@@ -66,6 +66,12 @@
return self;
}
+- (void)windowDidLoad
+{
+ NSSortDescriptor *mySortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"title.index" ascending:YES];
+ self.arrayController.sortDescriptors = [NSArray arrayWithObject:mySortDescriptor];
+}
+
- (IBAction)deselectAll:(id)sender
{
for (HBTitleSelection *title in self.titles)