From 954b41eb8fd513513abca607f710d2688202fe1e Mon Sep 17 00:00:00 2001 From: Bibiko Date: Sat, 20 Nov 2010 10:36:54 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added=20SPBundleCommandTextView=20and=20use?= =?UTF-8?q?=20it=20instead=20of=20SPEditSheetTextVIew=20since=20it=20works?= =?UTF-8?q?=20in=20a=20sheet=20only=20and=20due=20to=20future=20extensions?= =?UTF-8?q?=20=E2=80=A2=20fixed=20init=20in=20SPEditSheetTextView=20?= =?UTF-8?q?=E2=80=A2=20Bundle=20Editor:=20minor=20bug=20fixing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPBundleEditorController.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/SPBundleEditorController.m') 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]; } -- cgit v1.2.3