Revision: 27938
http://sourceforge.net/p/bibdesk/svn/27938
Author: hofman
Date: 2022-09-26 21:31:36 +0000 (Mon, 26 Sep 2022)
Log Message:
-----------
fix scripting key
Modified Paths:
--------------
trunk/bibdesk/BDSKSearchBookmark+Scripting.m
Modified: trunk/bibdesk/BDSKSearchBookmark+Scripting.m
===================================================================
--- trunk/bibdesk/BDSKSearchBookmark+Scripting.m 2022-09-26 18:12:36 UTC
(rev 27937)
+++ trunk/bibdesk/BDSKSearchBookmark+Scripting.m 2022-09-26 21:31:36 UTC
(rev 27938)
@@ -99,7 +99,7 @@
}
- (id)newScriptingObjectOfClass:(Class)objectClass forValueForKey:(NSString
*)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties
{
- if ([key isEqualToString:@"search bookmarks"]) {
+ if ([key isEqualToString:@"searchBookmarks"]) {
if ([self bookmarkType] != BDSKSearchBookmarkTypeFolder) {
[[NSScriptCommand currentCommand]
setScriptErrorNumber:NSReceiversCantHandleCommandScriptError];
[[NSScriptCommand currentCommand] setScriptErrorString:@"Invalid
container for new search bookmark."];
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