aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-10-16 23:40:47 +0000
committerstuconnolly <stuart02@gmail.com>2010-10-16 23:40:47 +0000
commit2bdaf46dbdfa4823155f1616297cb8dd9ba13836 (patch)
treecbc10e0d3bb4cd45b0a122d8024e86efa0bf30ab
parent2fb64ce313440feb869c5c71dc71a84716c8b761 (diff)
downloadsequelpro-2bdaf46dbdfa4823155f1616297cb8dd9ba13836.tar.gz
sequelpro-2bdaf46dbdfa4823155f1616297cb8dd9ba13836.tar.bz2
sequelpro-2bdaf46dbdfa4823155f1616297cb8dd9ba13836.zip
Fix an exception caused by the changes introduced in r2764.
-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;