aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-05 18:41:51 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-05 18:41:51 +0000
commit0dcf7859fbaf5dbb1e1a2887e46add5634d26d77 (patch)
tree4f7ea468d364a7aeaaf4ac139e6d38f05a457b0b /Source/SPConnectionController.m
parentc91dd638605c4e4cee9343dce11abdf498e20532 (diff)
parentbedc1d11d6bedb4239b8f083b88b26d171ced3b3 (diff)
downloadsequelpro-0dcf7859fbaf5dbb1e1a2887e46add5634d26d77.tar.gz
sequelpro-0dcf7859fbaf5dbb1e1a2887e46add5634d26d77.tar.bz2
sequelpro-0dcf7859fbaf5dbb1e1a2887e46add5634d26d77.zip
Bring outlineview branch up to date with trunk (r2961:2966).
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index 4938c09a..979f59bb 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -195,7 +195,7 @@ static const NSString *SPExportFavoritesFilename = @"SequelProFavorites.plist";
SPTreeNode *favorite = [self _favoriteNodeForFavoriteID:[prefs integerForKey:([prefs boolForKey:SPSelectLastFavoriteUsed]) ? SPLastFavoriteID : SPDefaultFavorite]];
- if (favorite && [favorite representedObject]) {
+ if (favorite) {
NSNumber *typeNumber = [[[favorite representedObject] nodeFavorite] objectForKey:SPFavoriteTypeKey];