From 2bdfaa096b9a1a982fd18a706ec3e2057f9a8f81 Mon Sep 17 00:00:00 2001 From: Nathan Kinsinger Date: Sun, 22 Aug 2010 18:44:00 -0600 Subject: [PATCH] Fix sorting of the subject column. Was broken back in 4e4ffcc. --- PBGitHistoryController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitHistoryController.m b/PBGitHistoryController.m index 640c892..89cd1ab 100644 --- a/PBGitHistoryController.m +++ b/PBGitHistoryController.m @@ -67,7 +67,7 @@ // Set a sort descriptor for the subject column in the history list, as // It can't be sorted by default (because it's bound to a PBGitCommit) - [[commitList tableColumnWithIdentifier:@"subject"] setSortDescriptorPrototype:[[NSSortDescriptor alloc] initWithKey:@"subject" ascending:YES]]; + [[commitList tableColumnWithIdentifier:@"SubjectColumn"] setSortDescriptorPrototype:[[NSSortDescriptor alloc] initWithKey:@"subject" ascending:YES]]; // Add a menu that allows a user to select which columns to view [[commitList headerView] setMenu:[self tableColumnMenu]]; [historySplitView setTopMin:58.0 andBottomMin:100.0];