Revision: 22606
          http://sourceforge.net/p/bibdesk/svn/22606
Author:   hofman
Date:     2018-09-15 09:39:55 +0000 (Sat, 15 Sep 2018)
Log Message:
-----------
don't edit empty author

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

Modified: trunk/bibdesk/BibDocument_Groups.m
===================================================================
--- trunk/bibdesk/BibDocument_Groups.m  2018-09-15 09:19:46 UTC (rev 22605)
+++ trunk/bibdesk/BibDocument_Groups.m  2018-09-15 09:39:55 UTC (rev 22606)
@@ -977,7 +977,8 @@
        } else if ([group groupType] == BDSKCategoryGroupType) {
         // this must be a person field
         BDSKASSERT([[group name] isKindOfClass:[BibAuthor class]]);
-               [self showPerson:(BibAuthor *)[group name]];
+        if ([NSString isEmptyString:[group editingStringValue]] == NO)
+            [self showPerson:(BibAuthor *)[group name]];
        } else if ([group groupType] == BDSKURLGroupType) {
         BDSKURLGroup *urlGroup = (BDSKURLGroup *)group;
         BDSKURLGroupSheetController *sheetController = 
[(BDSKURLGroupSheetController *)[BDSKURLGroupSheetController alloc] 
initWithURL:[urlGroup URL]];

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