From 6af633648d5d145393e39af9a62d3582d5fa543f Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 20 Apr 2010 12:04:53 +0000 Subject: Fix an issue whereby choosing to edit the selected favourite in the connection view would select the wrong favourite in the preferences because sorting has been applied to the table view. --- Source/SPPreferenceController.m | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Source/SPPreferenceController.m') diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m index 2826b0e8..d068064a 100644 --- a/Source/SPPreferenceController.m +++ b/Source/SPPreferenceController.m @@ -1106,17 +1106,6 @@ [favoritesTableView scrollRowToVisible:[favoritesController selectionIndex]]; } -// ------------------------------------------------------------------------------- -// selectFavoriteAtIndex: -// -// Selects the favorite at the specified index in the favorites list -// ------------------------------------------------------------------------------- -- (void)selectFavoriteAtIndex:(NSUInteger)theIndex -{ - [favoritesController setSelectionIndex:theIndex]; - [favoritesTableView scrollRowToVisible:theIndex]; -} - // ------------------------------------------------------------------------------- // global table font selection // ------------------------------------------------------------------------------- -- cgit v1.2.3