aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-12-17 21:50:37 +0000
committerstuconnolly <stuart02@gmail.com>2010-12-17 21:50:37 +0000
commitcacea8262fa8a696fbdf132874383d3bafb2ef93 (patch)
tree27e722648e0d7d2007c201117e6d6d30bab5dec1 /Source
parent2bb0262375af1ca9a0a31943e1982b2b3cb7ae56 (diff)
downloadsequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.tar.gz
sequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.tar.bz2
sequelpro-cacea8262fa8a696fbdf132874383d3bafb2ef93.zip
Improve favorite tooltips.
Diffstat (limited to 'Source')
-rw-r--r--Source/SPConnectionControllerDelegate.m2
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];