From 566f784ae03776dd3f5cfda20a357240d2e73a77 Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Tue, 2 Aug 2011 00:23:17 +0000 Subject: merged latest SP_REFACTOR changes --- Source/SPConnectionController.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/SPConnectionController.m') 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]) { -- cgit v1.2.3