aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMCopyTable.m
diff options
context:
space:
mode:
authormltownsend <mltownsend@gmail.com>2009-08-28 05:16:37 +0000
committermltownsend <mltownsend@gmail.com>2009-08-28 05:16:37 +0000
commit555e11adb2f626ae3c19e1e872bf47830e22a0b2 (patch)
tree1ef698ab6a2d4b876faf12310beeda911420e8e6 /Source/CMCopyTable.m
parentb4132a93b4cc370434b22c3ed8c644e6c850d9ad (diff)
downloadsequelpro-555e11adb2f626ae3c19e1e872bf47830e22a0b2.tar.gz
sequelpro-555e11adb2f626ae3c19e1e872bf47830e22a0b2.tar.bz2
sequelpro-555e11adb2f626ae3c19e1e872bf47830e22a0b2.zip
Fixed keyDown editing of SPTableView and CMCopyTable
Diffstat (limited to 'Source/CMCopyTable.m')
-rw-r--r--Source/CMCopyTable.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m
index c28a5a3a..fadbe57d 100644
--- a/Source/CMCopyTable.m
+++ b/Source/CMCopyTable.m
@@ -418,13 +418,13 @@ 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];
+
}