aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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