diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 11:16:55 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-12-07 11:16:55 +0000 |
commit | 44cf4df2bbe2e9208faef346abc0a64e62432592 (patch) | |
tree | fc612e1368ed310bcb6a866674367730ca1804d0 /Source/SPAppController.m | |
parent | 5365d66a60b03889dc8ed165f190155b6e2c0a83 (diff) | |
download | sequelpro-44cf4df2bbe2e9208faef346abc0a64e62432592.tar.gz sequelpro-44cf4df2bbe2e9208faef346abc0a64e62432592.tar.bz2 sequelpro-44cf4df2bbe2e9208faef346abc0a64e62432592.zip |
• Bundle command support
- fixed issue for commands without assigning a key equivalent
- output table meta data about type, type grouping, length, auto_inc, PRI key etc. for Data Table scope commands and sequelpro url scheme command ExecuteQuery
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r-- | Source/SPAppController.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m index 304e1d3e..3054892f 100644 --- a/Source/SPAppController.m +++ b/Source/SPAppController.m @@ -1302,7 +1302,9 @@ if([cmdData objectForKey:SPBundleFileCategoryKey] && [[cmdData objectForKey:SPBundleFileCategoryKey] length]) [aDict setObject:[cmdData objectForKey:SPBundleFileCategoryKey] forKey:SPBundleFileCategoryKey]; - [aDict setObject:[cmdData objectForKey:SPBundleFileKeyEquivalentKey] forKey:@"key"]; + if([cmdData objectForKey:SPBundleFileKeyEquivalentKey] && [[cmdData objectForKey:SPBundleFileKeyEquivalentKey] length]) + [aDict setObject:[cmdData objectForKey:SPBundleFileKeyEquivalentKey] forKey:@"key"]; + for(NSString* scope in scopes) [[bundleItems objectForKey:scope] addObject:aDict]; } |