From cc5aa6c295b6072b5feedc1b912df264c34a9edb Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 23 Nov 2010 14:20:26 +0000 Subject: =?UTF-8?q?=E2=80=A2=20Bundle=20Editor=20-=20fixed=20gui=20arragem?= =?UTF-8?q?ent=20-=20suppress=20error=20message=20if=20no=20ouptut=20key?= =?UTF-8?q?=20found=20in=20command.plist=20=E2=80=A2=20added=20sequelpro:/?= =?UTF-8?q?/ID@/passToDoc/SelectTableRows/1/3/4/..=20scheme=20command=20wh?= =?UTF-8?q?ich=20selects=20given=20rows=20in=20current=20table=20if=20a=20?= =?UTF-8?q?SPCopyTable=20is=20the=20first=20responder;=20not=20valid=20giv?= =?UTF-8?q?en=20rows=20are=20ignored=20=E2=80=A2=20added=20SP=5FSELECTED?= =?UTF-8?q?=5FROW=5FINDICES=20as=20passed=20shell=20variable=20for=20Data?= =?UTF-8?q?=20Table=20scope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/SPTextViewAdditions.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPTextViewAdditions.m') diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m index 1bc45aad..4afea05f 100644 --- a/Source/SPTextViewAdditions.m +++ b/Source/SPTextViewAdditions.m @@ -607,8 +607,8 @@ [[NSFileManager defaultManager] removeItemAtPath:bundleInputFilePath error:nil]; - if(err == nil && output && [cmdData objectForKey:SPBundleFileOutputActionKey]) { - if([[cmdData objectForKey:SPBundleFileOutputActionKey] length] + if(err == nil && output) { + if([cmdData objectForKey:SPBundleFileOutputActionKey] && [[cmdData objectForKey:SPBundleFileOutputActionKey] length] && ![[cmdData objectForKey:SPBundleFileOutputActionKey] isEqualToString:SPBundleOutputActionNone]) { NSString *action = [[cmdData objectForKey:SPBundleFileOutputActionKey] lowercaseString]; -- cgit v1.2.3