Revision: 22648
http://sourceforge.net/p/bibdesk/svn/22648
Author: hofman
Date: 2018-09-21 22:11:00 +0000 (Fri, 21 Sep 2018)
Log Message:
-----------
Only return value from add script command when actually adding
Modified Paths:
--------------
trunk/bibdesk/BDSKAddCommand.m
Modified: trunk/bibdesk/BDSKAddCommand.m
===================================================================
--- trunk/bibdesk/BDSKAddCommand.m 2018-09-21 21:56:50 UTC (rev 22647)
+++ trunk/bibdesk/BDSKAddCommand.m 2018-09-21 22:11:00 UTC (rev 22648)
@@ -137,13 +137,11 @@
for (id obj in insertionObjects)
[insertionContainer insertValue:obj
inPropertyWithKey:insertionKey];
}
+
+ // get the return value as an NSAppleEventDescriptor
+ return [(isArray ? insertionObjects : [insertionObjects
firstObject]) aeDescriptorValue];
}
}
-
- // get the return value as an NSAppleEventDescriptor
- return [(isArray ? insertionObjects : [insertionObjects
firstObject]) aeDescriptorValue];
- } else {
- return [NSAppleEventDescriptor listDescriptor];
}
}
return nil;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit