aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-08 11:00:00 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-08 11:00:00 +0000
commitf083576763c6c97b03943e335a6948411e7214ef (patch)
treeb27033ce44154b9d3cee1d278aab7840bf545706 /Source/TableContent.m
parent0471ae82424ea960038699509c1875650ccc3915 (diff)
downloadsequelpro-f083576763c6c97b03943e335a6948411e7214ef.tar.gz
sequelpro-f083576763c6c97b03943e335a6948411e7214ef.tar.bz2
sequelpro-f083576763c6c97b03943e335a6948411e7214ef.zip
• added field name to Field Editor Sheet
- initial support (not yet finished) Note: maybe add information about field type, max length as attributed string
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index 746d0638..c0d77959 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -2141,7 +2141,10 @@
SPFieldEditorController *fieldEditor = [[SPFieldEditorController alloc] init];
id editData = [[fieldEditor editWithObject:[[filteredResult objectAtIndex:rowIndex] objectAtIndex:[[aTableColumn identifier] intValue]]
- usingEncoding:[mySQLConnection encoding] isObjectBlob:isBlob isEditable:YES withWindow:tableWindow] retain];
+ fieldName:[[aTableColumn headerCell] stringValue]
+ usingEncoding:[mySQLConnection encoding]
+ isObjectBlob:isBlob
+ isEditable:YES withWindow:tableWindow] retain];
if (editData) {
if (!isEditingRow) {