aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPTableRelations.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPTableRelations.m b/Source/SPTableRelations.m
index 5f687257..3bb1739d 100644
--- a/Source/SPTableRelations.m
+++ b/Source/SPTableRelations.m
@@ -257,6 +257,15 @@
[removeRelationButton setEnabled:([relationsTableView numberOfSelectedRows] > 0)];
}
+/*
+ * Double-click action on table cells - for the time being, return
+ * NO to disable editing.
+ */
+- (BOOL)tableView:(NSTableView *)aTableView shouldEditTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex
+{
+ return NO;
+}
+
#pragma mark -
#pragma mark Other