aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-11-20 10:36:54 +0000
committerBibiko <bibiko@eva.mpg.de>2010-11-20 10:36:54 +0000
commit954b41eb8fd513513abca607f710d2688202fe1e (patch)
tree52daae8df12165f5d90b6166a526486b9c10b5ac /Source/SPBundleEditorController.m
parent7ee497de7b4b05fe338166221b0fd42962975214 (diff)
downloadsequelpro-954b41eb8fd513513abca607f710d2688202fe1e.tar.gz
sequelpro-954b41eb8fd513513abca607f710d2688202fe1e.tar.bz2
sequelpro-954b41eb8fd513513abca607f710d2688202fe1e.zip
• added SPBundleCommandTextView and use it instead of SPEditSheetTextVIew since it works in a sheet only and due to future extensions
• fixed init in SPEditSheetTextView • Bundle Editor: minor bug fixing
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index 378d3b5e..829cff3e 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -85,8 +85,6 @@
- (void)awakeFromNib
{
- [commandTextView setDelegate:self];
-
// Init all needed menus
inputEditorScopePopUpMenu = [[NSMenu alloc] initWithTitle:@""];
inputInputFieldScopePopUpMenu = [[NSMenu alloc] initWithTitle:@""];
@@ -613,7 +611,7 @@
if([scopes length]) [scopes appendString:@" "];
[scopes appendString:SPBundleScopeInputField];
}
- if([bundle objectForKey:SPBundleScopeDataTable] && [[bundle objectForKey:SPBundleScopeInputField] intValue]) {
+ if([bundle objectForKey:SPBundleScopeDataTable] && [[bundle objectForKey:SPBundleScopeDataTable] intValue]) {
if([scopes length]) [scopes appendString:@" "];
[scopes appendString:SPBundleScopeDataTable];
}