Revision: 18222
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18222&view=rev
Author:   hofman
Date:     2011-11-16 11:18:43 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
just have the external group retrieve its publications after a refresh, the 
update will come after that's done

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

Modified: trunk/bibdesk/BibDocument_Groups.m
===================================================================
--- trunk/bibdesk/BibDocument_Groups.m  2011-11-16 10:50:55 UTC (rev 18221)
+++ trunk/bibdesk/BibDocument_Groups.m  2011-11-16 11:18:43 UTC (rev 18222)
@@ -1221,19 +1221,19 @@
 - (IBAction)refreshURLGroups:(id)sender{
     [[groups URLGroups] setValue:nil forKey:@"publications"];
     if ([self hasURLGroupsSelected])
-        [self displaySelectedGroups];
+        [[[self selectedGroups] lastObject] retrievePublications];
 }
 
 - (IBAction)refreshScriptGroups:(id)sender{
     [[groups scriptGroups] setValue:nil forKey:@"publications"];
     if ([self hasScriptGroupsSelected])
-        [self displaySelectedGroups];
+        [[[self selectedGroups] lastObject] retrievePublications];
 }
 
 - (IBAction)refreshSearchGroups:(id)sender{
     [[groups searchGroups] setValue:nil forKey:@"publications"];
     if ([self hasSearchGroupsSelected])
-        [self displaySelectedGroups];
+        [[[self selectedGroups] lastObject] retrievePublications];
 }
 
 - (IBAction)refreshAllExternalGroups:(id)sender{
@@ -1248,7 +1248,7 @@
     if ([group isExternal]) {
         [group setPublications:nil];
         if ([[self selectedGroups] containsObject:group])
-            [self displaySelectedGroups];
+            [group retrievePublications];
     } else NSBeep();
 }
 

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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to