Revision: 29318
          http://sourceforge.net/p/bibdesk/svn/29318
Author:   hofman
Date:     2025-07-21 17:05:01 +0000 (Mon, 21 Jul 2025)
Log Message:
-----------
two methods we identical, so use only one

Modified Paths:
--------------
    trunk/bibdesk/BibDocument_UI.m
    trunk/bibdesk/BibItem.h
    trunk/bibdesk/BibItem.m

Modified: trunk/bibdesk/BibDocument_UI.m
===================================================================
--- trunk/bibdesk/BibDocument_UI.m      2025-07-21 17:00:39 UTC (rev 29317)
+++ trunk/bibdesk/BibDocument_UI.m      2025-07-21 17:05:01 UTC (rev 29318)
@@ -1460,7 +1460,7 @@
         
         // invalidate groups that depend on inherited values
         if ([NSString isEmptyString:crossref] == NO && [key 
isCaseInsensitiveEqual:crossref]) {
-            [aPub invalidateGroupNames];
+            [aPub resetGroups];
             // inherited fields are also searched
             if (shouldReindex)
                 [publications reindexPublication:aPub];

Modified: trunk/bibdesk/BibItem.h
===================================================================
--- trunk/bibdesk/BibItem.h     2025-07-21 17:00:39 UTC (rev 29317)
+++ trunk/bibdesk/BibItem.h     2025-07-21 17:05:01 UTC (rev 29318)
@@ -794,8 +794,9 @@
 - (BDSKFieldAction)addToGroup:(BDSKCategoryGroup *)group 
handleInherited:(BDSKFieldAction)operation;
 - (BDSKFieldAction)removeFromGroup:(BDSKCategoryGroup *)group 
handleInherited:(BDSKFieldAction)operation;
 - (BDSKFieldAction)replaceGroup:(BDSKCategoryGroup *)group 
withGroup:(BDSKCategoryGroup *)newGroup 
handleInherited:(BDSKFieldAction)operation;
-- (void)invalidateGroupNames;
 
+- (void)resetGroups;
+
 @property (nonatomic, getter=isImported) BOOL imported;
 
 @property (nonatomic, readonly) NSURL *identifierURL;
@@ -806,8 +807,6 @@
 
 @property (nonatomic, readonly) NSURL *bdskURL;
 
-- (void)resetGroups;
-
 @end
 
 

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2025-07-21 17:00:39 UTC (rev 29317)
+++ trunk/bibdesk/BibItem.m     2025-07-21 17:05:01 UTC (rev 29318)
@@ -529,10 +529,6 @@
     }
 }
 
-- (void)resetGroups{
-       [groups removeAllObjects];
-}
-
 #pragma mark Document
 
 - (void)setOwner:(id<BDSKOwner>)newOwner {
@@ -3760,7 +3756,7 @@
        return operation;
 }
 
-- (void)invalidateGroupNames{
+- (void)resetGroups{
        [groups removeAllObjects];
 }
 

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