Revision: 22591
          http://sourceforge.net/p/bibdesk/svn/22591
Author:   hofman
Date:     2018-09-13 14:56:02 +0000 (Thu, 13 Sep 2018)
Log Message:
-----------
use selected groups. not clicked or selected groups

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

Modified: trunk/bibdesk/BibDocument_Actions.m
===================================================================
--- trunk/bibdesk/BibDocument_Actions.m 2018-09-13 12:04:53 UTC (rev 22590)
+++ trunk/bibdesk/BibDocument_Actions.m 2018-09-13 14:56:02 UTC (rev 22591)
@@ -220,7 +220,7 @@
                BOOL canRemove = NO;
         if ([self hasGroupTypeSelected:BDSKStaticGroupType])
             canRemove = YES;
-        else if (NSNotFound != [[self clickedOrSelectedGroups] 
indexOfObjectPassingTest:^BOOL(id obj, NSUInteger idx, BOOL *stop){ return [obj 
groupType] == BDSKCategoryGroupType && [[obj key] isSingleValuedGroupField] == 
NO; }])
+        else if (NSNotFound != [selectedGroups 
indexOfObjectPassingTest:^BOOL(id obj, NSUInteger idx, BOOL *stop){ return [obj 
groupType] == BDSKCategoryGroupType && [[obj key] isSingleValuedGroupField] == 
NO; }])
             canRemove = YES;
                if (canRemove == NO) {
                        NSBeep();

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