Revision: 27970
          http://sourceforge.net/p/bibdesk/svn/27970
Author:   hofman
Date:     2022-09-30 15:05:35 +0000 (Fri, 30 Sep 2022)
Log Message:
-----------
save search group server file after removing old file

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

Modified: trunk/bibdesk/BDSKSearchGroupServerManager.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroupServerManager.m        2022-09-30 14:56:45 UTC 
(rev 27969)
+++ trunk/bibdesk/BDSKSearchGroupServerManager.m        2022-09-30 15:05:35 UTC 
(rev 27970)
@@ -174,8 +174,8 @@
 
 - (void)setServer:(BDSKServerInfo *)serverInfo atIndex:(NSUInteger)idx {
     // this also makes sure any password is saved in the keychain
+    [self deleteServerFile:[searchGroupServers objectAtIndex:idx]];
     [self saveServerFile:serverInfo];
-    [self deleteServerFile:[searchGroupServers objectAtIndex:idx]];
     [searchGroupServers replaceObjectAtIndex:idx withObject:[[serverInfo copy] 
autorelease]];
     [searchGroupServers sortUsingDescriptors:sortDescriptors];
 }

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