aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-10-30 00:12:07 +0000
committerBibiko <bibiko@eva.mpg.de>2010-10-30 00:12:07 +0000
commit9018787f43507f525ed0aa5036d21017cc8846a2 (patch)
tree6ff24c69e3c5223a65ca17c58f59192ed2c0fd51 /Source/SPTableContent.m
parentf6ae8533374461cb00133d4cdaaed1c4172c0940 (diff)
downloadsequelpro-9018787f43507f525ed0aa5036d21017cc8846a2.tar.gz
sequelpro-9018787f43507f525ed0aa5036d21017cc8846a2.tar.bz2
sequelpro-9018787f43507f525ed0aa5036d21017cc8846a2.zip
• enabled enter/return/tab enters the edit mode for Content and Custom Query table
- it will call [self editColumn:0 row:[self selectedRow] withEvent:nil select:YES]; to invoke the incell edit mode, if user tries to modify it the sheet will be displayed if set; further improvements will follow
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index ac76f093..c71099b8 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -4196,7 +4196,7 @@
// Check if current edited field is a blob
if ((fieldType = [[tableDataInstance columnWithName:[[NSArrayObjectAtIndex([tableContentView tableColumns], column) headerCell] stringValue]] objectForKey:@"typegrouping"])
- && ([fieldType isEqualToString:@"textdata"] || [fieldType isEqualToString:@"blobdata"]))
+ && ([fieldType isEqualToString:@"textdata"] || [fieldType isEqualToString:@"blobdata"] || [multipleLineEditingButton state] == NSOnState))
{
// Cancel editing
[control abortEditing];