aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r--Source/SPTableView.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m
index cf93f143..38cd949e 100644
--- a/Source/SPTableView.m
+++ b/Source/SPTableView.m
@@ -64,8 +64,9 @@
// Check if ENTER or RETURN is hit and edit the column.
if([self numberOfSelectedRows] == 1 && ([theEvent keyCode] == 36 || [theEvent keyCode] == 76))
{
- if (![[[[self delegate] class] description] isEqualToString:@"CustomQuery"]){
- [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES];
+ if (![[[[self delegate] class] description] isEqualToString:@"CustomQuery"] &&
+ ![[[[self delegate] class] description] isEqualToString:@"SPQueryFavoriteManager"]){
+ [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES];
return;
}
}