diff options
author | rowanbeentje <rowan@beent.je> | 2009-07-26 15:57:15 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-07-26 15:57:15 +0000 |
commit | 1e12ff35d75508ab8e098bc2af38b2aacbeba017 (patch) | |
tree | c43f56435fc50c0f68bf30cddd7336d0c6ebffa1 /Source | |
parent | 84fdbe2ab1489786031973997f8413cd2f137375 (diff) | |
download | sequelpro-1e12ff35d75508ab8e098bc2af38b2aacbeba017.tar.gz sequelpro-1e12ff35d75508ab8e098bc2af38b2aacbeba017.tar.bz2 sequelpro-1e12ff35d75508ab8e098bc2af38b2aacbeba017.zip |
- 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
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPTableRelations.m | 9 |
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 |