aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionControllerDataSource.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2013-02-14 20:14:07 +0000
committersqlprodev <sqlprodev@northofthree.com>2013-02-14 20:14:07 +0000
commit7d71d9d773ca7ee8b5920e304b7b41b92120943f (patch)
tree305655c168173f1d2bbfa7896a35f245b01f71a1 /Source/SPConnectionControllerDataSource.m
parent47069472a4b5dc6655338a77ec8b1eb9a5f5c3d9 (diff)
downloadsequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.tar.gz
sequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.tar.bz2
sequelpro-7d71d9d773ca7ee8b5920e304b7b41b92120943f.zip
Changing SP_REFACTOR macro to SP_CODA
Diffstat (limited to 'Source/SPConnectionControllerDataSource.m')
-rw-r--r--Source/SPConnectionControllerDataSource.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPConnectionControllerDataSource.m b/Source/SPConnectionControllerDataSource.m
index daf2c3af..231737c7 100644
--- a/Source/SPConnectionControllerDataSource.m
+++ b/Source/SPConnectionControllerDataSource.m
@@ -45,7 +45,7 @@
@implementation SPConnectionController (SPConnectionControllerDataSource)
-#ifndef SP_REFACTOR
+#ifndef SP_CODA
/**
* Return the number of children for the specified item in the favourites tree.
@@ -55,7 +55,7 @@
- (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item
{
SPTreeNode *node = (item == nil ? favoritesRoot : (SPTreeNode *)item);
-
+
// If at the root, return the count plus one for the "Quick Connect" entry
if (!item) {
return [[node childNodes] count] + 1;
@@ -110,7 +110,7 @@
if (![node isGroup]) {
// Updating the name triggers a KVO update
- [self setName:newName];
+ [self setName:newName];
[self _saveCurrentDetailsCreatingNewFavorite:NO validateDetails:NO];
}
else {