From f083576763c6c97b03943e335a6948411e7214ef Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sat, 8 Aug 2009 11:00:00 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20field=20name=20to=20Field=20Editor?= =?UTF-8?q?=20Sheet=20-=20initial=20support=20(not=20yet=20finished)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: maybe add information about field type, max length as attributed string --- Source/TableContent.m | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/TableContent.m') 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) { -- cgit v1.2.3