Revision: 28011
http://sourceforge.net/p/bibdesk/svn/28011
Author: hofman
Date: 2022-10-11 15:00:25 +0000 (Tue, 11 Oct 2022)
Log Message:
-----------
use correct accessor to undo search term
Modified Paths:
--------------
trunk/bibdesk/BDSKSearchBookmarkController.m
Modified: trunk/bibdesk/BDSKSearchBookmarkController.m
===================================================================
--- trunk/bibdesk/BDSKSearchBookmarkController.m 2022-10-11 06:30:22 UTC
(rev 28010)
+++ trunk/bibdesk/BDSKSearchBookmarkController.m 2022-10-11 15:00:25 UTC
(rev 28011)
@@ -366,7 +366,7 @@
} else if ([keyPath isEqualToString:LABEL_KEY]) {
[[[self undoManager] prepareWithInvocationTarget:bookmark]
setLabel:oldValue];
} else if ([keyPath isEqualToString:SEARCHTERM_KEY]) {
- [[[self undoManager] prepareWithInvocationTarget:bookmark]
setInfo:oldValue];
+ [[[self undoManager] prepareWithInvocationTarget:bookmark]
setSearchTerm:oldValue];
} else if ([keyPath isEqualToString:INFO_KEY]) {
[[[self undoManager] prepareWithInvocationTarget:bookmark]
setInfo:[[oldValue copy] autorelease]];
}
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