aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TableDocument.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/TableDocument.m b/TableDocument.m
index 408aa2f6..a7f33ea8 100644
--- a/TableDocument.m
+++ b/TableDocument.m
@@ -357,8 +357,9 @@ NSString *TableDocumentFavoritesControllerFavoritesDidChange = @"TableDocumentFa
// select new favorite
selectedFavorite = [favoriteName retain];
-
+
[self didChangeValueForKey:@"favorites"];
+ [favoritesController setSelectionIndex:[favorites count]-1];
}
/**