aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPStringAdditions.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-09 20:54:16 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-09 20:54:16 +0000
commit3187b984cc76491bf1aabacdf8b2deb5046eaf0a (patch)
tree1c8c6a4a17faf280d16531b52767a094a0ed48f3 /Source/SPStringAdditions.m
parent34eac092acd118620c2653731e283ca8aa7fc383 (diff)
downloadsequelpro-3187b984cc76491bf1aabacdf8b2deb5046eaf0a.tar.gz
sequelpro-3187b984cc76491bf1aabacdf8b2deb5046eaf0a.tar.bz2
sequelpro-3187b984cc76491bf1aabacdf8b2deb5046eaf0a.zip
• Bundle Commands
- added shell vars SP_CURRENT_EDITED_COLUMN_NAME, SP_CURRENT_EDITED_TABLE for Input Field scoped commands if invoked from a table cell field editor - added shell var SP_TABLE_DATA_SOURCE (content or query) - fixed table row change trigger for custom query tableView
Diffstat (limited to 'Source/SPStringAdditions.m')
-rw-r--r--Source/SPStringAdditions.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/SPStringAdditions.m b/Source/SPStringAdditions.m
index 012f365c..4b06a028 100644
--- a/Source/SPStringAdditions.m
+++ b/Source/SPStringAdditions.m
@@ -567,6 +567,9 @@
if([doc shellVariables])
[theEnv addEntriesFromDictionary:[doc shellVariables]];
+ if([theEnv objectForKey:SPBundleShellVariableCurrentEditedColumnName] && [[theEnv objectForKey:SPBundleShellVariableDataTableSource] isEqualToString:@"content"])
+ [theEnv setObject:[theEnv objectForKey:SPBundleShellVariableSelectedTable] forKey:SPBundleShellVariableCurrentEditedTable];
+
}
if(theEnv != nil && [theEnv count])