aboutsummaryrefslogtreecommitdiffstats
path: root/Source/TableContent.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-17 15:53:59 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-17 15:53:59 +0000
commitdbefc2d0e374b9279289b313adf814187b26882c (patch)
tree2320fc9b29f0f3a9fd1a3a01007e3fe4af3a3c96 /Source/TableContent.m
parent155e66d1b9a6d1108ba4b29397fe3b04a77737f0 (diff)
downloadsequelpro-dbefc2d0e374b9279289b313adf814187b26882c.tar.gz
sequelpro-dbefc2d0e374b9279289b313adf814187b26882c.tar.bz2
sequelpro-dbefc2d0e374b9279289b313adf814187b26882c.zip
• Field Editor Sheet class
- added the feature to set "isEditable"; according to "isEditable" GUI elements will be hidden or renamed - if no blob data reduce the minimal sheet size since no segment or quicklook control is needed
Diffstat (limited to 'Source/TableContent.m')
-rw-r--r--Source/TableContent.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/TableContent.m b/Source/TableContent.m
index e6381555..e5dc4141 100644
--- a/Source/TableContent.m
+++ b/Source/TableContent.m
@@ -1934,7 +1934,7 @@ objectValueForTableColumn:(NSTableColumn *)aTableColumn
SPFieldEditorController *fieldEditor = [[SPFieldEditorController alloc] init];
id editData = [[fieldEditor editWithObject:[[filteredResult objectAtIndex:rowIndex] objectAtIndex:[[aTableColumn identifier] intValue]]
- usingEncoding:[mySQLConnection encoding] isObjectBlob:isBlob withWindow:tableWindow] retain];
+ usingEncoding:[mySQLConnection encoding] isObjectBlob:isBlob isEditable:YES withWindow:tableWindow] retain];
if ( editData ) {
if ( !isEditingRow ) {