aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPTableView.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m
index b8590a9a..b662d417 100644
--- a/Source/SPTableView.m
+++ b/Source/SPTableView.m
@@ -112,8 +112,9 @@
}
- if (![[[[self delegate] class] description] isEqualToString:@"SPCustomQuery"] &&
- ![[[[self delegate] class] description] isEqualToString:@"SPQueryFavoriteManager"]) {
+ if ((![[[[self delegate] class] description] isEqualToString:@"SPCustomQuery"]) &&
+ (![[[[self delegate] class] description] isEqualToString:@"SPQueryFavoriteManager"]) &&
+ (![[[[self delegate] class] description] isEqualToString:@"SPConnectionController"])) {
// Ensure that editing is permitted
if (![[self delegate] tableView:self shouldEditTableColumn:[[self tableColumns] objectAtIndex:0] row:[self selectedRow]]) return;