Revision: 27849
          http://sourceforge.net/p/bibdesk/svn/27849
Author:   hofman
Date:     2022-08-30 17:09:11 +0000 (Tue, 30 Aug 2022)
Log Message:
-----------
don't set publications to nil when sharing did not fail or cancel, as that 
leads to a reload loop

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

Modified: trunk/bibdesk/BDSKSharedGroup.m
===================================================================
--- trunk/bibdesk/BDSKSharedGroup.m     2022-08-29 08:51:16 UTC (rev 27848)
+++ trunk/bibdesk/BDSKSharedGroup.m     2022-08-30 17:09:11 UTC (rev 27849)
@@ -204,7 +204,8 @@
         [pubs setValue:macroResolver forKey:@"macroResolver"];
         
         [[self macroResolver] setMacroDefinitions:macros];
-        [self setPublications:pubs];
+        // don't set to nil, as that will keep reloading the shared group when 
selected
+        [self setPublications:pubs ?: [NSArray array]];
     }
     
     [self didChangeValueForKey:@"icon"];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to