Revision: 29899
          http://sourceforge.net/p/bibdesk/svn/29899
Author:   hofman
Date:     2025-11-29 18:32:08 +0000 (Sat, 29 Nov 2025)
Log Message:
-----------
always initialize count

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

Modified: trunk/bibdesk/BDSKParentGroup.m
===================================================================
--- trunk/bibdesk/BDSKParentGroup.m     2025-11-29 18:02:38 UTC (rev 29898)
+++ trunk/bibdesk/BDSKParentGroup.m     2025-11-29 18:32:08 UTC (rev 29899)
@@ -236,7 +236,9 @@
         URLGroupCount = 0;
         scriptGroupCount = 0;
         searchGroupCount = 0;
-        if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKNoInitialWebGroupKey] == NO) {
+        if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKNoInitialWebGroupKey]) {
+            webGroupCount = 0;
+        } else {
             webGroupCount = 1;
             BDSKWebGroup *webGroup = [[BDSKWebGroup alloc] init];
             [self insertChild:webGroup inRange: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