From 1f68bab9230b644ed335d37121576fbdfee83ba7 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 20 Apr 2010 08:55:39 +0000 Subject: - Fix exceptions when right-clicking on the query favourites list. This addresses http://spbug.com/l/133 . --- Source/SPTableView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/SPTableView.m') 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 -- cgit v1.2.3