From 1e12ff35d75508ab8e098bc2af38b2aacbeba017 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Sun, 26 Jul 2009 15:57:15 +0000 Subject: - Add keyboard shortcuts for Add and Delete buttons in Table Relations pane - Remove hidden, non-implemented menu in create table relation add dialog to improve tabbing through fields in the popup - Add cancel shortcut in the table relation add dialog - Prevent table relations table cells from being edited, as edit support isn't present yet - clean up tooltips to fix references to Indexes --- Source/SPTableRelations.m | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source') 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 -- cgit v1.2.3