diff options
author | stuconnolly <stuart02@gmail.com> | 2010-12-17 21:50:37 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-12-17 21:50:37 +0000 |
commit | cacea8262fa8a696fbdf132874383d3bafb2ef93 (patch) | |
tree | 27e722648e0d7d2007c201117e6d6d30bab5dec1 /Source/SPConnectionControllerDelegate.m | |
parent | 2bb0262375af1ca9a0a31943e1982b2b3cb7ae56 (diff) | |
download | sequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.tar.gz sequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.tar.bz2 sequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.zip |
Improve favorite tooltips.
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r-- | Source/SPConnectionControllerDelegate.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index 9e63a547..c0b86c0f 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -183,7 +183,7 @@ SPTreeNode *node = (SPTreeNode *)item; if (![node isGroup]) { - return [[[node representedObject] nodeFavorite] objectForKey:SPFavoriteNameKey]; + return [NSString stringWithFormat:@"%@ (%@)", [[[node representedObject] nodeFavorite] objectForKey:SPFavoriteNameKey], [[[node representedObject] nodeFavorite] objectForKey:SPFavoriteHostKey]]; } else { NSUInteger favCount = [[node childNodes] count]; |