Revision: 28008
          http://sourceforge.net/p/bibdesk/svn/28008
Author:   hofman
Date:     2022-10-09 14:44:30 +0000 (Sun, 09 Oct 2022)
Log Message:
-----------
modify search bookmark earch term in mutable copy of dictionary

Modified Paths:
--------------
    trunk/bibdesk/BDSKSearchBookmark.m

Modified: trunk/bibdesk/BDSKSearchBookmark.m
===================================================================
--- trunk/bibdesk/BDSKSearchBookmark.m  2022-10-09 06:30:20 UTC (rev 28007)
+++ trunk/bibdesk/BDSKSearchBookmark.m  2022-10-09 14:44:30 UTC (rev 28008)
@@ -337,7 +337,11 @@
 }
 
 - (void)setSearchTerm:(NSString *)searchTerm {
-    [[self info] setValue:searchTerm forKey:@"search term"];
+    NSMutableDictionary *mutableInfo = [[self info] mutableCopy];
+    [mutableInfo setValue:searchTerm forKey:@"search term"];
+    [info release];
+    info = [mutableInfo copy];
+    [mutableInfo release];
 }
 
 @end

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

Reply via email to