aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableView.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-20 08:55:39 +0000
committerrowanbeentje <rowan@beent.je>2010-04-20 08:55:39 +0000
commit1f68bab9230b644ed335d37121576fbdfee83ba7 (patch)
treeeede895a2a78e5546eb83981dc618596168f532b /Source/SPTableView.m
parentcf0ce7904972ba4144e1030c7b9331b119fc8f5d (diff)
downloadsequelpro-1f68bab9230b644ed335d37121576fbdfee83ba7.tar.gz
sequelpro-1f68bab9230b644ed335d37121576fbdfee83ba7.tar.bz2
sequelpro-1f68bab9230b644ed335d37121576fbdfee83ba7.zip
- Fix exceptions when right-clicking on the query favourites list. This addresses http://spbug.com/l/133 .
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r--Source/SPTableView.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m
index 0a1592ca..e53a38e8 100644
--- a/Source/SPTableView.m
+++ b/Source/SPTableView.m
@@ -38,7 +38,8 @@
{
// If TableDocument is performing a task suppress any context menu
- if([[[self window] delegate] isWorking])
+ if ([[[[[self window] delegate] class] description] isEqualToString:@"TableDocument"]
+ && [[[self window] delegate] isWorking])
return nil;
// If more than one row is selected only returns the default contextual menu