Revision: 29908
          http://sourceforge.net/p/bibdesk/svn/29908
Author:   hofman
Date:     2025-11-30 15:25:52 +0000 (Sun, 30 Nov 2025)
Log Message:
-----------
no need to initialize ivar twice

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

Modified: trunk/bibdesk/BDSKParentGroup.m
===================================================================
--- trunk/bibdesk/BDSKParentGroup.m     2025-11-30 15:22:51 UTC (rev 29907)
+++ trunk/bibdesk/BDSKParentGroup.m     2025-11-30 15:25:52 UTC (rev 29908)
@@ -231,9 +231,7 @@
         URLGroupCount = 0;
         scriptGroupCount = 0;
         searchGroupCount = 0;
-        if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKNoInitialWebGroupKey]) {
-            webGroupCount = 0;
-        } else {
+        if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKNoInitialWebGroupKey] == NO) {
             webGroupCount = 1;
             BDSKWebGroup *webGroup = [[BDSKWebGroup alloc] init];
             [self insertChild:webGroup afterRange:NSMakeRange(0, 0)];

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