diff options
Diffstat (limited to 'Source/SPTableView.m')
-rw-r--r-- | Source/SPTableView.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/SPTableView.m b/Source/SPTableView.m index 6e9ccd65..a2e0c713 100644 --- a/Source/SPTableView.m +++ b/Source/SPTableView.m @@ -76,6 +76,12 @@ { if (![[[[self delegate] class] description] isEqualToString:@"CustomQuery"] && ![[[[self delegate] class] description] isEqualToString:@"SPQueryFavoriteManager"]){ + + // Ensure that editing is permitted + if (![[self delegate] tableView:self shouldEditTableColumn:[[self tableColumns] objectAtIndex:0] row:[self selectedRow]]) + return; + + // Trigger a cell edit [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES]; return; } |