aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-09 21:26:48 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-09 21:26:48 +0000
commit370e35a72e344c5a2c29ff76cdf1e84b4f475807 (patch)
tree6763723d0dd99f276d7b453ecc4f0b274ecc7f8f /Source/SPCustomQuery.m
parent3187b984cc76491bf1aabacdf8b2deb5046eaf0a (diff)
downloadsequelpro-370e35a72e344c5a2c29ff76cdf1e84b4f475807.tar.gz
sequelpro-370e35a72e344c5a2c29ff76cdf1e84b4f475807.tar.bz2
sequelpro-370e35a72e344c5a2c29ff76cdf1e84b4f475807.zip
• Bundle commands
- added the shell vars for edited field info as well if Field Editor sheet is used
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r--Source/SPCustomQuery.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index c313edaf..e8420b7c 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -2342,6 +2342,13 @@
if([columnDefinition objectForKey:@"null"])
allowNULL = (![[columnDefinition objectForKey:@"null"] integerValue]);
+ [fieldEditor setEditedFieldInfo:[NSDictionary dictionaryWithObjectsAndKeys:
+ [columnDefinition objectForKey:@"org_name"], @"colName",
+ [columnDefinition objectForKey:@"org_table"], @"tableName",
+ [self usedQuery], @"usedQuery",
+ @"query", @"tableSource",
+ nil]];
+
[fieldEditor setTextMaxLength:fieldLength];
[fieldEditor setFieldType:(fieldType==nil) ? @"" : fieldType];
[fieldEditor setFieldEncoding:(fieldEncoding==nil) ? @"" : fieldEncoding];