diff options
author | rowanbeentje <rowan@beent.je> | 2009-09-15 23:56:02 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-09-15 23:56:02 +0000 |
commit | a4cbc850448f901a5320b9b9cfac2f8d28bafa2f (patch) | |
tree | 0fcb422ecd86315458cc3b8c7156a94a2080be45 /Source | |
parent | 1c936a29bdd7da08e61603caec2f20aeed119135 (diff) | |
download | sequelpro-a4cbc850448f901a5320b9b9cfac2f8d28bafa2f.tar.gz sequelpro-a4cbc850448f901a5320b9b9cfac2f8d28bafa2f.tar.bz2 sequelpro-a4cbc850448f901a5320b9b9cfac2f8d28bafa2f.zip |
- Tweak keydown handling in the content view to reenable key interaction (eg selection changes with the arrow keys)
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CMCopyTable.m | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m index fadbe57d..f52bc04d 100644 --- a/Source/CMCopyTable.m +++ b/Source/CMCopyTable.m @@ -418,14 +418,12 @@ int MENU_EDIT_COPY_AS_SQL = 2002; if([tableContentView numberOfSelectedRows] == 1 && ([theEvent keyCode] == 36 || [theEvent keyCode] == 76)) { if([[self delegate] tableView:tableContentView shouldEditTableColumn:[[tableContentView tableColumns] objectAtIndex:0] row:[tableContentView selectedRow]]) { [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES]; + return; } } - } else { - [super keyDown:theEvent]; } - - + [super keyDown:theEvent]; } |