aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-08-02 00:23:17 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-08-02 00:23:17 +0000
commit566f784ae03776dd3f5cfda20a357240d2e73a77 (patch)
treecf156cbd06ec8b60da628a53d15955d9527feba6 /Source/SPConnectionController.m
parent34dc6a658202bd624971c81633ea484e3f4f1e74 (diff)
downloadsequelpro-566f784ae03776dd3f5cfda20a357240d2e73a77.tar.gz
sequelpro-566f784ae03776dd3f5cfda20a357240d2e73a77.tar.bz2
sequelpro-566f784ae03776dd3f5cfda20a357240d2e73a77.zip
merged latest SP_REFACTOR changes
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index 79dddba4..e7a70caf 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -221,7 +221,9 @@
// If this action was triggered via a double-click on the favorites outline view,
// ensure that one of the connections was double-clicked, not the area above or below
+#ifndef SP_REFACTOR
if (sender == favoritesTable && [favoritesTable clickedRow] <= 0) return;
+#endif
// Ensure that host is not empty if this is a TCP/IP or SSH connection
if (([self type] == SPTCPIPConnection || [self type] == SPSSHTunnelConnection) && ![[self host] length]) {